{"openapi":"3.1.0","info":{"title":"campai API Reference","description":"The OpenAPI specification for campai","version":"1.0.0"},"servers":[{"url":"https://cloud.campai.com/api"}],"paths":{"/{organizationId}/{mandateId}/crm/applications/forms":{"post":{"operationId":"crm-applications-forms-createForm","summary":"Create form","description":"Creates an application form <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationForm.insert","tags":["crm / applications / forms"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":64},"customAcceptanceAction":{"anyOf":[{"type":"object","properties":{"appId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"widgetGroupId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["appId","widgetGroupId"]},{"type":"null"}]},"form":{"type":"object","properties":{"schema":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},"pageMode":{"type":"string","enum":["segments","flow","flowWithProgress"]},"introText":{"type":"string","maxLength":4000}},"required":["schema","pageMode","introText"]},"submit":{"type":"object","properties":{"submitCaption":{"type":"string","minLength":1},"useCaptcha":{"type":"boolean"},"denyApplyWithExistingEmail":{"type":"boolean"},"submittedText":{"type":"string","minLength":1,"maxLength":4000},"navigateUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"navigateWaitSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["submitCaption","useCaptcha","denyApplyWithExistingEmail","submittedText","navigateUrl","navigateWaitSeconds"]},"confirmation":{"type":"object","properties":{"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"mustConfirmEmail":{"type":"boolean"},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["confirmationMail","mustConfirmEmail","expressaTemplate"]},"notificationUserIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}}},"required":["contactType","name","form","submit","confirmation","notificationUserIds"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/forms/{applicationFormId}":{"get":{"operationId":"crm-applications-forms-getForm","summary":"Get form","description":"Returns an application form <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationForm.read","tags":["crm / applications / forms"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationFormId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":64},"customAcceptanceAction":{"anyOf":[{"type":"object","properties":{"appId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"widgetGroupId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["appId","widgetGroupId"],"additionalProperties":false},{"type":"null"}]},"form":{"type":"object","properties":{"schema":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"pageMode":{"type":"string","enum":["segments","flow","flowWithProgress"]},"introText":{"type":"string","maxLength":4000}},"required":["schema","pageMode","introText"],"additionalProperties":false},"submit":{"type":"object","properties":{"submitCaption":{"type":"string","minLength":1},"useCaptcha":{"type":"boolean"},"denyApplyWithExistingEmail":{"type":"boolean"},"submittedText":{"type":"string","minLength":1,"maxLength":4000},"navigateUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"navigateWaitSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["submitCaption","useCaptcha","denyApplyWithExistingEmail","submittedText","navigateUrl","navigateWaitSeconds"],"additionalProperties":false},"confirmation":{"type":"object","properties":{"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"mustConfirmEmail":{"type":"boolean"},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["confirmationMail","mustConfirmEmail","expressaTemplate"],"additionalProperties":false},"notificationUserIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"approved":{"type":"integer","minimum":0,"maximum":9007199254740991},"rejected":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","mandate","contactType","name","form","submit","confirmation","notificationUserIds","unread","pending","approved","rejected"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-applications-forms-updateForm","summary":"Update form","description":"Updates an application form <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationForm.edit","tags":["crm / applications / forms"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationFormId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"customAcceptanceAction":{"anyOf":[{"type":"object","properties":{"appId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"widgetGroupId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["appId","widgetGroupId"]},{"type":"null"}]},"form":{"type":"object","properties":{"schema":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},"pageMode":{"type":"string","enum":["segments","flow","flowWithProgress"]},"introText":{"type":"string","maxLength":4000}},"required":["schema","pageMode","introText"]},"submit":{"type":"object","properties":{"submitCaption":{"type":"string","minLength":1},"useCaptcha":{"type":"boolean"},"denyApplyWithExistingEmail":{"type":"boolean"},"submittedText":{"type":"string","minLength":1,"maxLength":4000},"navigateUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"navigateWaitSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["submitCaption","useCaptcha","denyApplyWithExistingEmail","submittedText","navigateUrl","navigateWaitSeconds"]},"confirmation":{"type":"object","properties":{"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"mustConfirmEmail":{"type":"boolean"},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["confirmationMail","mustConfirmEmail","expressaTemplate"]},"notificationUserIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}}},"required":["name","form","submit","confirmation","notificationUserIds"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-applications-forms-deleteForm","summary":"Delete form","description":"Deletes an application form <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationForm.remove","tags":["crm / applications / forms"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationFormId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDelete","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/forms/list":{"post":{"operationId":"crm-applications-forms-listForms","summary":"List forms","description":"Returns a list of application forms <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationForm.read","tags":["crm / applications / forms"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","contactType","name","customAcceptanceAction.appId","customAcceptanceAction.widgetGroupId","submit.submitCaption","submit.useCaptcha","submit.denyApplyWithExistingEmail","submit.submittedText","submit.navigateUrl","submit.navigateWaitSeconds","confirmation.confirmationMail.subject","confirmation.confirmationMail.message","confirmation.mustConfirmEmail","confirmation.expressaTemplate","notificationUserIds","unread","pending","approved","rejected"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"contactTypes":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"forms":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":64},"customAcceptanceAction":{"anyOf":[{"type":"object","properties":{"appId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"widgetGroupId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["appId","widgetGroupId"],"additionalProperties":false},{"type":"null"}]},"submit":{"type":"object","properties":{"submitCaption":{"type":"string","minLength":1},"useCaptcha":{"type":"boolean"},"denyApplyWithExistingEmail":{"type":"boolean"},"submittedText":{"type":"string","minLength":1,"maxLength":4000},"navigateUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"navigateWaitSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["submitCaption","useCaptcha","denyApplyWithExistingEmail","submittedText","navigateUrl","navigateWaitSeconds"],"additionalProperties":false},"confirmation":{"type":"object","properties":{"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"mustConfirmEmail":{"type":"boolean"},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["confirmationMail","mustConfirmEmail","expressaTemplate"],"additionalProperties":false},"notificationUserIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"approved":{"type":"integer","minimum":0,"maximum":9007199254740991},"rejected":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","mandate","contactType","name","submit","confirmation","notificationUserIds","unread","pending","approved","rejected"],"additionalProperties":false}}},"required":["count","forms"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}":{"get":{"operationId":"crm-applications-submissions-getSubmission","summary":"Get submission","description":"Returns an application submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationForm":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationFormName":{"type":"string"},"status":{"type":"string","enum":["unread","pending","approved","rejected"]},"emailConfirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"submission":{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},"language":{"anyOf":[{"type":"string","enum":["en","de"]},{"type":"null"}]},"dispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"reviewStatus":{"type":"string","enum":["none","pending","accepted","rejected"]},"reviewer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]},"reviewRequestNote":{"type":"string","maxLength":4000},"reviewRequestedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewRequestedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"reviewNote":{"type":"string","maxLength":4000},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","applicationForm","applicationFormName","status","emailConfirmed","submission","language","dispatchStatus","reviewStatus","reviewer","reviewRequestNote","reviewRequestedAt","reviewRequestedBy","reviewNote","reviewedAt","reviewedBy"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-applications-submissions-deleteSubmission","summary":"Delete submission","description":"Deletes an application submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.remove","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/list":{"post":{"operationId":"crm-applications-submissions-listSubmissions","summary":"List submissions","description":"Returns a list of application submissions <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","applicationForm","applicationFormName","status","emailConfirmed","submission.schema","language","dispatchStatus.openedAt","dispatchStatus.clickedAt","dispatchStatus.unsubscribedAt","dispatchStatus.sentAt","dispatchStatus.dispatchedBy.name","dispatchStatus.dispatchedBy.type","dispatchStatus.dispatchedBy.userId","dispatchStatus.dispatchedBy.image.resource","dispatchStatus.dispatchedBy.image.fileName","dispatchStatus.dispatchedBy.image.contentType","dispatchStatus.dispatchedBy.image.fileSizeBytes","dispatchStatus.dispatchedBy.key","dispatchStatus.sendStatus","dispatchStatus.sendError","dispatchStatus.sendPrice","reviewStatus","reviewer.name","reviewer.type","reviewer.userId","reviewer.image.resource","reviewer.image.fileName","reviewer.image.contentType","reviewer.image.fileSizeBytes","reviewRequestNote","reviewRequestedAt","reviewRequestedBy.name","reviewRequestedBy.type","reviewRequestedBy.userId","reviewRequestedBy.image.resource","reviewRequestedBy.image.fileName","reviewRequestedBy.image.contentType","reviewRequestedBy.image.fileSizeBytes","reviewRequestedBy.key","reviewNote","reviewedAt","reviewedBy.name","reviewedBy.type","reviewedBy.userId","reviewedBy.image.resource","reviewedBy.image.fileName","reviewedBy.image.contentType","reviewedBy.image.fileSizeBytes","reviewedBy.key","createdAt"]},{"type":"string","pattern":"^submission\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"applicationFormId":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"status":{"type":"array","items":{"type":"string","enum":["unread","pending","approved","rejected"]}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"submissions":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationForm":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationFormName":{"type":"string"},"status":{"type":"string","enum":["unread","pending","approved","rejected"]},"emailConfirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"submission":{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},"language":{"anyOf":[{"type":"string","enum":["en","de"]},{"type":"null"}]},"dispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"reviewStatus":{"type":"string","enum":["none","pending","accepted","rejected"]},"reviewer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]},"reviewRequestNote":{"type":"string","maxLength":4000},"reviewRequestedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewRequestedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"reviewNote":{"type":"string","maxLength":4000},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","applicationForm","applicationFormName","status","emailConfirmed","submission","language","dispatchStatus","reviewStatus","reviewer","reviewRequestNote","reviewRequestedAt","reviewRequestedBy","reviewNote","reviewedAt","reviewedBy"],"additionalProperties":false}}},"required":["count","submissions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/accept":{"post":{"operationId":"crm-applications-submissions-acceptSubmission","summary":"Accept submission","description":"Accepts an application submission and creates a contact from it <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"debtorOrCreditor":{"anyOf":[{"type":"string"},{"type":"string","enum":["create","existing","none"]}]},"contracts":{"type":"array","items":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","minLength":1}},"startAt":{"type":"string"},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"]},{"type":"null"}]},"planId":{"type":"string"},"voucher":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"startAt":{"type":"string"}},"required":["name","interval","amount","amountPercentage","endAt","startAt"]},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"flexibleInterval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"fixedAmount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["options","startAt","pause","planId"]}},"confirmRejected":{"type":"boolean"},"makeDuplicateCheck":{"type":"boolean"},"contactGrouping":{"type":"object","properties":{"selectedContactIds":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string"}},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"existing"},"groupId":{"type":"string"}},"required":["kind","groupId"]},{"type":"object","properties":{"kind":{"type":"string","const":"new"},"typeId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":40}},"required":["kind","typeId","name"]}],"type":"object"}},"required":["selectedContactIds","target"]}},"required":["debtorOrCreditor"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["contactId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/reject":{"post":{"operationId":"crm-applications-submissions-rejectSubmission","summary":"Reject submission","description":"Rejects an application submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/markAsRead":{"post":{"operationId":"crm-applications-submissions-changeSubmissionReadStatus","summary":"Mark submission as read or unread","description":"Marks an application submission as read or unread <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"read":{"type":"boolean"}},"required":["read"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/data":{"post":{"operationId":"crm-applications-submissions-updateSubmissionData","summary":"Update submission data","description":"Updates the form data of an application submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submission":{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"]},"date":{"type":"object","properties":{"format":{"type":"string"}}},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["resultType"]},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"]}},"required":["id","type"]}]}}},"required":["id","label","fields"]}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["schema","data"]}},"required":["submission"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/pdf":{"get":{"operationId":"crm-applications-submissions-downloadSubmissionPdf","summary":"Download submission PDF","description":"Downloads an application submission as PDF <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"],"additionalProperties":false}},"required":["name","data"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/review/request":{"post":{"operationId":"crm-applications-submissions-requestSubmissionReview","summary":"Request submission review","description":"Assigns an application submission to a user for review <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewerUserId":{"type":"string","minLength":16},"note":{"default":"","type":"string","maxLength":4000}},"required":["reviewerUserId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/review":{"get":{"operationId":"crm-applications-submissions-getSubmissionReview","summary":"Get submission review","description":"Returns an application submission for review <br /><br /> \n### Required permissions:\n* #### organization.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"submission":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationForm":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"applicationFormName":{"type":"string"},"status":{"type":"string","enum":["unread","pending","approved","rejected"]},"emailConfirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"language":{"anyOf":[{"type":"string","enum":["en","de"]},{"type":"null"}]},"submission":{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},"dispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"reviewStatus":{"type":"string","enum":["none","pending","accepted","rejected"]},"reviewer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]},"reviewRequestNote":{"type":"string","maxLength":4000},"reviewRequestedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewRequestedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"reviewNote":{"type":"string","maxLength":4000},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","applicationForm","applicationFormName","status","emailConfirmed","language","submission","dispatchStatus","reviewStatus","reviewer","reviewRequestNote","reviewRequestedAt","reviewRequestedBy","reviewNote","reviewedAt","reviewedBy"],"additionalProperties":false},"applicationForm":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"form":{"type":"object","properties":{"schema":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"pageMode":{"type":"string","enum":["segments","flow","flowWithProgress"]},"introText":{"type":"string","maxLength":4000}},"required":["schema","pageMode","introText"],"additionalProperties":false}},"required":["_id","name","form"],"additionalProperties":false}},"required":["submission","applicationForm"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/review/submit":{"post":{"operationId":"crm-applications-submissions-submitSubmissionReview","summary":"Submit submission review","description":"Accepts or rejects an application submission review request <br /><br /> \n### Required permissions:\n* #### organization.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewStatus":{"type":"string","enum":["accepted","rejected"]},"note":{"default":"","type":"string","maxLength":4000}},"required":["reviewStatus"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/export":{"post":{"operationId":"crm-applications-submissions-exportSubmissions","summary":"Export submissions","description":"Exports application submissions <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"applicationFormId":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"status":{"type":"array","items":{"type":"string","enum":["unread","pending","approved","rejected"]}},"sort":{"default":{"createdAt":"desc"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format","applicationFormId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/applications/submissions/{applicationSubmissionId}/acceptance-context":{"get":{"operationId":"crm-applications-submissions-getAcceptSubmissionContext","summary":"Gets the context for accepting an application submission","description":"Returns account, plan and group suggestions for application acceptance. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### applicationSubmission.edit\n* #### plan.read\n* #### contract.read\n* #### department.read","tags":["crm / applications / submissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"applicationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"accountType":{"type":"string","enum":["debtor","creditor"]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"customAcceptanceAction":{"anyOf":[{"type":"object","properties":{"appId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"widgetGroupId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["appId","widgetGroupId"],"additionalProperties":false},{"type":"null"}]},"applicationPlans":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"startAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","name","startAt","endAt"],"additionalProperties":false}},"suggestedPlans":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"startAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reason":{"type":"string"}},"required":["_id","name","startAt","endAt","reason"],"additionalProperties":false}},"suggestedGroups":{"anyOf":[{"type":"object","properties":{"lastName":{"type":"string"},"types":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40}},"required":["_id","name"],"additionalProperties":false}},"matches":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"matches":{"type":"array","items":{"type":"string","enum":["lastName","address","email"]}},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"groups":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","maxLength":40},"number":{"type":"string","minLength":1,"maxLength":24},"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"locked":{"type":"boolean"}},"required":["_id","name","number","type","locked"],"additionalProperties":false}}},"required":["_id","name","matches","score","groups"],"additionalProperties":false}}},"required":["lastName","types","matches"],"additionalProperties":false},{"type":"null"}]}},"required":["accountType","contactType","applicationPlans","suggestedPlans","suggestedGroups"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rules":{"post":{"operationId":"crm-rules-createRule","summary":"Create rule","description":"Creates a new CRM rule for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.insert","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"created"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"updated"},"rrule":{"default":null,"type":"null"},"properties":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","maxLength":64}}},"required":["type","properties"]},{"type":"object","properties":{"type":{"type":"string","const":"birthday"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","limitToAges","startWithAge"]},{"type":"object","properties":{"type":{"type":"string","const":"time"},"rrule":{"type":"string"}},"required":["type","rrule"]},{"type":"object","properties":{"type":{"type":"string","const":"member:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:terminatedAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:membershipDuration"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","limitToAges","startWithAge"]},{"type":"object","properties":{"type":{"type":"string","const":"departments:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"departments:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]}],"type":"object"},"schedule":{"anyOf":[{"type":"object","properties":{"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["days","weeks","months","years"]}},"required":["value","unit"]},"time":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]}},"required":["shiftMode","shiftTime","time"]},{"type":"null"}]},"actions":{"minItems":1,"maxItems":10,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactEmail"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":0,"maxLength":10000}},"required":["subject","message"]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"alternateCommunications":{"type":"boolean"},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"expressaTemplateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","name","type","condition","emailTexts","expressaTemplate","mailingTags","alternateCommunications","expressaTemplateContents"]},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactLetter"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"expressaTemplateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"expressaTemplateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","name","type","condition","expressaTemplate","sendColorPostal","sendWithCheaperMethod","mailingTags","expressaTemplateContents","expressaTemplateAttachment"]},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendNotification"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"userIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"title":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","maxLength":480},"details":{"type":"string","maxLength":5000}},"required":["id","name","type","condition","userIds","title","message","details"]}],"type":"object"}}},"required":["name","contactType","contactSegments","trigger","schedule","actions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rules/list":{"post":{"operationId":"crm-rules-listRules","summary":"List rules","description":"Returns a list of CRM rules for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.read","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","mandate","contactType","contactSegments","trigger.type","trigger.rrule","trigger.properties","trigger.property","trigger.limitToAges","trigger.startWithAge","executionsCount","lastExecutedAt","schedule.reference.literal","schedule.reference.variable","schedule.reference.source.variable","schedule.reference.lookup.variable","schedule.reference.array","schedule.reference.select","schedule.reference.func","schedule.reference.params","schedule.shiftMode","schedule.shiftTime.value","schedule.shiftTime.unit","schedule.time.hours","schedule.time.minutes","actions"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"rules":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":100},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"trigger":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"created"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","const":"birthday"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","rrule","limitToAges","startWithAge"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"time"},"rrule":{"type":"string"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:terminatedAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:membershipDuration"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","rrule","limitToAges","startWithAge"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"departments:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"departments:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false}]},"executionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastExecutedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"schedule":{"anyOf":[{"type":"string"},{"type":"null"}]},"actions":{"minItems":1,"maxItems":10,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactEmail"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":0,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]},"mailingTags":{"type":"string array"},"alternateCommunications":{"type":"boolean"}},"required":["id","name","type","condition","emailTexts","expressaTemplate","attachments","mailingTags","alternateCommunications"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendNotification"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"userIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"title":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","maxLength":480},"details":{"type":"string","maxLength":5000}},"required":["id","name","type","condition","userIds","title","message","details"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactLetter"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"},"mailingTags":{"type":"string array"}},"required":["id","name","type","condition","expressaTemplate","sendColorPostal","sendWithCheaperMethod","mailingTags"],"additionalProperties":false}],"type":"object"}}},"required":["_id","name","mandate","contactType","contactSegments","trigger","executionsCount","lastExecutedAt","schedule","actions"],"additionalProperties":false}}},"required":["count","rules"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rules/{ruleId}":{"get":{"operationId":"crm-rules-getRule","summary":"Get rule","description":"Returns a specific CRM rule <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.read","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"ruleId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":100},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"trigger":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"created"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","const":"birthday"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","rrule","limitToAges","startWithAge"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"time"},"rrule":{"type":"string"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:terminatedAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"member:membershipDuration"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","rrule","limitToAges","startWithAge"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"departments:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"departments:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type","rrule"],"additionalProperties":false}]},"executionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastExecutedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"schedule":{"anyOf":[{"type":"string"},{"type":"null"}]},"actions":{"minItems":1,"maxItems":10,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactEmail"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":0,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]},"mailingTags":{"type":"string array"},"alternateCommunications":{"type":"boolean"}},"required":["id","name","type","condition","emailTexts","expressaTemplate","attachments","mailingTags","alternateCommunications"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendNotification"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"userIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"title":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","maxLength":480},"details":{"type":"string","maxLength":5000}},"required":["id","name","type","condition","userIds","title","message","details"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactLetter"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema5"},{"type":"null"}]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"},"mailingTags":{"type":"string array"}},"required":["id","name","type","condition","expressaTemplate","sendColorPostal","sendWithCheaperMethod","mailingTags"],"additionalProperties":false}],"type":"object"}}},"required":["_id","name","mandate","contactType","contactSegments","trigger","executionsCount","lastExecutedAt","schedule","actions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-rules-updateRule","summary":"Update rule","description":"Updates a specific CRM rule <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.edit","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"ruleId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"trigger":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"created"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"updated"},"rrule":{"default":null,"type":"null"},"properties":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","maxLength":64}}},"required":["type","properties"]},{"type":"object","properties":{"type":{"type":"string","const":"birthday"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","limitToAges","startWithAge"]},{"type":"object","properties":{"type":{"type":"string","const":"time"},"rrule":{"type":"string"}},"required":["type","rrule"]},{"type":"object","properties":{"type":{"type":"string","const":"member:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:terminatedAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"member:membershipDuration"},"rrule":{"default":null,"type":"null"},"limitToAges":{"maxItems":32,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"startWithAge":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","limitToAges","startWithAge"]},{"type":"object","properties":{"type":{"type":"string","const":"departments:entryAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"departments:exitAt"},"rrule":{"default":null,"type":"null"}},"required":["type"]}],"type":"object"},"schedule":{"anyOf":[{"type":"object","properties":{"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["days","weeks","months","years"]}},"required":["value","unit"]},"time":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]}},"required":["shiftMode","shiftTime","time"]},{"type":"null"}]},"actions":{"minItems":1,"maxItems":10,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactEmail"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":0,"maxLength":10000}},"required":["subject","message"]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"alternateCommunications":{"type":"boolean"},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"expressaTemplateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","name","type","condition","emailTexts","expressaTemplate","mailingTags","alternateCommunications","expressaTemplateContents"]},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendContactLetter"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"expressaTemplateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"expressaTemplateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","name","type","condition","expressaTemplate","sendColorPostal","sendWithCheaperMethod","mailingTags","expressaTemplateContents","expressaTemplateAttachment"]},{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","const":"sendNotification"},"condition":{"anyOf":[{"$ref":"#/components/schemas/__schema0"},{"type":"null"}]},"userIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":16}},"title":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","maxLength":480},"details":{"type":"string","maxLength":5000}},"required":["id","name","type","condition","userIds","title","message","details"]}],"type":"object"}}},"required":["name","contactSegments","trigger","schedule","actions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-rules-deleteRule","summary":"Delete rule","description":"Deletes a specific CRM rule <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.remove","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"ruleId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rules/{ruleId}/action/{actionId}/templateContents":{"get":{"operationId":"crm-rules-getRuleActionTemplateContents","summary":"Get rule action template contents","description":"Returns the template contents of a specific CRM rule action <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.read","tags":["crm / rules"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"ruleId","schema":{"type":"string"},"required":true},{"in":"path","name":"actionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema8"},"letter":{"$ref":"#/components/schemas/__schema8"},"attachment":{"anyOf":[{"$ref":"#/components/schemas/__schema8"},{"type":"null"}]}},"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rule-executions/{ruleId}/{executionId}":{"get":{"operationId":"crm-ruleExecutions-getExecution","summary":"Get rule execution","description":"Returns a specific CRM rule execution <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.read","tags":["crm / rule executions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"ruleId","schema":{"type":"string"},"required":true},{"in":"path","name":"executionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactRule":{"type":"object","properties":{"contactRule":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contactRule","name"],"additionalProperties":false},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"status":{"type":"string","enum":["pending","executing","executed"]},"processAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"executedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"baseRuleDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"actionsResult":{"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string"},"actionName":{"type":"string"},"status":{"type":"string","enum":["success","failed","unapplicable"]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["actionId","actionName","status","error"],"additionalProperties":false}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","organization","mandate","contactRule","contact","status","processAt","executedAt","baseRuleDate","actionsResult"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/rule-executions/list":{"post":{"operationId":"crm-ruleExecutions-listExecutions","summary":"List rule executions","description":"Returns a list of CRM rule executions <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactRule.read","tags":["crm / rule executions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","organization","mandate","contactRule.contactRule","contactRule.name","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","status","processAt","executedAt","baseRuleDate","actionsResult","createdAt","updatedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"contactId":{"type":"string"},"contactRuleId":{"type":"string"},"status":{"type":"string","enum":["pending","executing","executed"]},"processAtFrom":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"processAtTo":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"ignoreSkipped":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"executions":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactRule":{"type":"object","properties":{"contactRule":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contactRule","name"],"additionalProperties":false},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"status":{"type":"string","enum":["pending","executing","executed"]},"processAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"executedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"baseRuleDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"actionsResult":{"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string"},"actionName":{"type":"string"},"status":{"type":"string","enum":["success","failed","unapplicable"]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["actionId","actionName","status","error"],"additionalProperties":false}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","organization","mandate","contactRule","contact","status","processAt","executedAt","baseRuleDate","actionsResult"],"additionalProperties":false}}},"required":["count","executions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts":{"post":{"operationId":"crm-contacts-createContact","summary":"Create contact","description":"Creates a new contact with a specific type <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"language":{"type":"string","enum":["en","de"]},"address":{"default":null,"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]}},"required":["email"]},"person":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]}},"required":["title","firstName","lastName","birthdate","gender"]},{"type":"null"}]},"institution":{"default":null,"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["type","name"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entryAt"]},{"type":"null"}]},"employee":{"anyOf":[{"type":"object","properties":{"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["employmentStartAt"]},{"type":"null"}]},"contributor":{"anyOf":[{"type":"object","properties":{"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contributionStartAt"]},{"type":"null"}]},"contactNumber":{"type":"string","maxLength":24},"departments":{"type":"array","items":{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"departmentId":{"type":"string"}},"required":["entryAt","exitAt","departmentId"]}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50}},"required":["tixxId"]},"update":{"anyOf":[{"type":"object","properties":{"networkConsent":{"oneOf":[{"type":"object","properties":{"participating":{"type":"boolean","const":true},"date":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["participating","date"]},{"type":"object","properties":{"participating":{"type":"boolean","const":false}},"required":["participating"]}],"type":"object"},"language":{"type":"string","enum":["en","de"]},"person":{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["salutation","gender","title","firstName","lastName","institutionName","printInstitutionOnAddress","birthdate"]},"institution":{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["type","name"]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"]}}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions"]},"alternativeCommunications":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"description":{"type":"string","maxLength":140},"contactId":{"type":"string"}},"required":["description","contactId"]},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"]}},"id":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":8,"maxLength":8}]}},"required":["name","description","email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","id"]}]}},"image":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"tags":{"maxItems":64,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"member":{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entryAt","exitAt"]},"employee":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","status","position","probationStartAt","probationEndAt","employmentStartAt","employmentEndAt","contractEndAt","terminatedAt","lastWorkingDayAt"]},"contributor":{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["status","roleTitle","contributionStartAt","contributionEndAt"]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactNumber":{"type":"string","maxLength":24},"departments":{"type":"array","items":{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"departmentId":{"type":"string"}},"required":["entryAt","exitAt","departmentId"]}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50}},"required":["tixxId"]}}},{"type":"null"}]},"attachDebtor":{"default":false,"anyOf":[{"type":"boolean"},{"type":"integer","minimum":1,"maximum":999999999}]},"attachCreditor":{"default":false,"anyOf":[{"type":"boolean"},{"type":"integer","minimum":1,"maximum":999999999}]},"makeDuplicateCheck":{"default":false,"type":"boolean"}},"required":["type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"debtorAccount":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["_id","debtorAccount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}":{"get":{"operationId":"crm-contacts-getContact","summary":"Get contact","description":"Returns a specific contact with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"language":{"type":"string","enum":["en","de"]},"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":80},"debtor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName"],"additionalProperties":false},{"type":"null"}]},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["account","name","nameNormalized","nameSort","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit"],"additionalProperties":false},{"type":"null"}]},"creditor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["account","name","nameNormalized","nameSort","totalOwedToCreditor","totalOwedFromCreditor"],"additionalProperties":false},{"type":"null"}]},"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["type","number","name","contacts","segments","contactSegmentCounters","group"],"additionalProperties":false}},"proofs":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"proof":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]}},"required":["type","typeName","proof","status"],"additionalProperties":false}},"certificates":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"certificate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["valid","willExpire","expired"]}},"required":["type","typeName","certificate","status"],"additionalProperties":false}},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"tags":{"type":"string array"},"teams":{"type":"array","items":{"type":"object","properties":{"team":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"manual":{"type":"boolean"},"role":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"roleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["team","role","roleName","joinedAt"],"additionalProperties":false}},"user":{"type":"object","properties":{"token":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":24,"maxLength":24}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["token","claimedAt","actor"],"additionalProperties":false},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"greetings":{"type":"string","minLength":1}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","greetings"],"additionalProperties":false},"alternativeCommunications":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"id":{"type":"string","minLength":8,"maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","id","contact","contactTypes","name","description"],"additionalProperties":false}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"institution":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["type","name"],"additionalProperties":false},{"type":"null"}]},"person":{"anyOf":[{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"birthdateDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["salutation","gender","title","firstName","lastName","institutionName","printInstitutionOnAddress","birthdate","age","birthdateDayOfYear"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationReason":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":20},"message":{"type":"string","minLength":1,"maxLength":255}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"membershipDuration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"exitAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["entryAt","exitAt","terminatedAt","terminationReason","membershipDuration","entryAtDayOfYear","exitAtDayOfYear"],"additionalProperties":false},{"type":"null"}]},"employee":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","status","position","probationStartAt","probationEndAt","employmentStartAt","employmentEndAt","contractEndAt","terminatedAt","lastWorkingDayAt"],"additionalProperties":false},{"type":"null"}]},"contributor":{"anyOf":[{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["status","roleTitle","contributionStartAt","contributionEndAt"],"additionalProperties":false},{"type":"null"}]},"contactNumbers":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","maxLength":24},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"departments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"department":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"color":{"type":"string"},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["department","name","color","contactTypes","entryAt","exitAt"],"additionalProperties":false}},"activeDepartments":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"contactNumbersSort":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"issuedPasses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"issuedPass":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["issuedPass","updatedAt"],"additionalProperties":false}},"contracts":{"type":"array","items":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentInterval":{"type":"string","enum":["month","quarter","halfYear","year","custom"]},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["plan","name"],"additionalProperties":false},"lastPaidPeriod":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["startAt","endAt"],"additionalProperties":false},"lastCollection":{"type":"object","properties":{"adjustments":{"type":"array","items":{"type":"string"}}},"required":["adjustments"],"additionalProperties":false}},"required":["startAt","endAt","pause","contract","paymentInterval","plan"],"additionalProperties":false}},"portalSynchronization":{"anyOf":[{"type":"object","properties":{"ignore":{"type":"boolean"},"status":{"type":"string","enum":["synchronized","failed","removed"]},"lastSynchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"activatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"failedReason":{"type":"string"},"mailStatus":{"type":"string","enum":["pending","delivered","error"]},"mailId":{"anyOf":[{"type":"string"},{"type":"null"}]},"mailError":{"type":"string"},"mailSentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["ignore","status","lastSynchronizedAt","lastSeenAt","activatedAt","failedReason","mailStatus","mailId","mailError","mailSentAt"],"additionalProperties":false},{"type":"null"}]},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50},"tixxCustomerNo":{"type":"string","maxLength":50},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string","maxLength":50},"phoneId":{"type":"string","maxLength":50}},"required":["mobilePhoneId","phoneId"],"additionalProperties":false}},"required":["tixxId","tixxCustomerNo","communication"],"additionalProperties":false},"network":{"anyOf":[{"type":"object","properties":{"joinedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"consent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"text":{"type":"string"},"privacyUrl":{"type":"string"}},"required":["acceptedAt","text","privacyUrl"],"additionalProperties":false},{"type":"null"}]},"visibleFields":{"maxItems":40,"type":"array","items":{"type":"string"}},"reviewedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"remindedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["joinedAt","visibleFields","reviewedAt","remindedAt"],"additionalProperties":false},{"type":"null"}]},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandates","types","language","name","nameNormalized","nameSort","debtor","creditor","groups","proofs","certificates","segments","tags","teams","user","image","address","communication","alternativeCommunications","customFields","institution","person","member","employee","contributor","contactNumbers","departments","activeDepartments","contactNumbersSort","issuedPasses","contracts","portalSynchronization","eventim","network","oldContactId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-contacts-updateContact","summary":"Update contact","description":"Updates basic contact information <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"networkConsent":{"oneOf":[{"type":"object","properties":{"participating":{"type":"boolean","const":true},"date":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["participating","date"]},{"type":"object","properties":{"participating":{"type":"boolean","const":false}},"required":["participating"]}],"type":"object"},"language":{"type":"string","enum":["en","de"]},"person":{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["salutation","gender","title","firstName","lastName","institutionName","printInstitutionOnAddress","birthdate"]},"institution":{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["type","name"]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"]}}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions"]},"alternativeCommunications":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"description":{"type":"string","maxLength":140},"contactId":{"type":"string"}},"required":["description","contactId"]},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"]}},"id":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":8,"maxLength":8}]}},"required":["name","description","email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","id"]}]}},"image":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"tags":{"maxItems":64,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"member":{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entryAt","exitAt"]},"employee":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","status","position","probationStartAt","probationEndAt","employmentStartAt","employmentEndAt","contractEndAt","terminatedAt","lastWorkingDayAt"]},"contributor":{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["status","roleTitle","contributionStartAt","contributionEndAt"]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactNumber":{"type":"string","maxLength":24},"departments":{"type":"array","items":{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"departmentId":{"type":"string"}},"required":["entryAt","exitAt","departmentId"]}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50}},"required":["tixxId"]},"dataPropagationTargets":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"targetType":{"type":"string","const":"contact"},"targetId":{"type":"string"},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","phone","mobilePhone","address"]}},"required":["targetType","targetId","field"]},{"type":"object","properties":{"targetType":{"type":"string","const":"contactAlternativeCommunication"},"targetId":{"type":"string"},"alternativeCommunicationId":{"type":"string","minLength":8,"maxLength":24},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","phone","mobilePhone"]}},"required":["targetType","targetId","alternativeCommunicationId","field"]},{"type":"object","properties":{"targetType":{"type":"string","const":"debtor"},"targetId":{"type":"string"},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","address"]}},"required":["targetType","targetId","field"]}],"type":"object"}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-contacts-deleteContact","summary":"Delete contact","description":"Deletes a given contact and all of its data <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"deleteCreditor","schema":{"default":true,"type":"boolean"}},{"in":"query","name":"deleteDebtor","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/custom-fields":{"get":{"operationId":"crm-contacts-getContactCustomFields","summary":"Get readable contact custom fields","description":"Returns custom field definitions, including inherited fields, for readable contact types <br /><br /> \n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"contactCustomFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false}}},"required":["contactCustomFields"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/suggested-plans":{"get":{"operationId":"crm-contacts-getSuggestedPlans","summary":"Gets suggested subscription plans for a contact","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read\n* #### contract.read\n* #### department.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"query","name":"previousDepartments","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"plans":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"suggestionType":{"type":"string","enum":["toCreate","toRemove"]},"reason":{"type":"string"},"contractId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"startAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","name","suggestionType","reason","contractId","startAt","endAt"],"additionalProperties":false}}},"required":["plans"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/dataPrivacyInformation":{"get":{"operationId":"crm-contacts-getDataPrivacyInformation","summary":"Get data privacy information","description":"Returns a PDF export with data privacy information for a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### tag.read\n* #### department.read\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.read\n* #### contract.read\n* #### plan.read\n* #### proof.read\n* #### certificate.read\n* #### contactIssuedPass.read\n* #### debtor.read\n* #### creditor.read\n* #### user.read\n* #### portalSettings.read\n* #### contactSegment.read\n* #### crmSettings.read\n* #### contactHistory.read\n* #### contactReport.read\n* #### contactNote.read\n* #### contactDocument.read\n* #### contactRule.read\n* #### voucher.read\n* #### receipt.read\n* #### posting.read\n* #### booking.read\n* #### event.read\n* #### attendee.read\n* #### resource.read\n* #### resourceReservation.read\n* #### resourceCheckIn.read\n* #### conversation.read\n* #### mailing.read\n* #### dispatchDocument.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"],"additionalProperties":false}},"required":["name","data"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/listContactsCelebrations":{"post":{"operationId":"crm-contacts-listContactsCelebrations","summary":"List contacts celebrations","description":"Returns a list of contacts for the mandate that are celebrating events like birthdays, anniversaries, leaving or joining the membership <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","name","types","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","image.resource","image.fileName","image.contentType","image.fileSizeBytes","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","newAge","newMemberAge","nextBirthday","nextAnniversary","daysTillNextBirthday","daysTillNextAnniversary","celebrationType","sortField"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"celebrationTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["birthday","anniversary","exit","entry"]}},"milestones":{"minItems":1,"type":"array","items":{"type":"integer","minimum":1,"maximum":9007199254740991}},"duration":{"type":"integer","minimum":1,"maximum":9007199254740991},"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"baseDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["celebrationTypes"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"contacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"person":{"anyOf":[{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"birthdateDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["salutation","gender","title","firstName","lastName","institutionName","printInstitutionOnAddress","birthdate","age","birthdateDayOfYear"],"additionalProperties":false},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationReason":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":20},"message":{"type":"string","minLength":1,"maxLength":255}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"membershipDuration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"exitAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["entryAt","exitAt","terminatedAt","terminationReason","membershipDuration","entryAtDayOfYear","exitAtDayOfYear"],"additionalProperties":false},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"token":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":24,"maxLength":24}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["token","claimedAt","actor"],"additionalProperties":false},"newAge":{"type":"number"},"newMemberAge":{"type":"number"},"nextBirthday":{"type":"string"},"nextAnniversary":{"type":"string"},"daysTillNextBirthday":{"type":"number"},"daysTillNextAnniversary":{"type":"number"},"celebrationType":{"type":"string","enum":["birthday","anniversary","exit","entry"]},"sortField":{"type":"number"}},"required":["_id","person","name","types","member","image","user","celebrationType"],"additionalProperties":false}}},"required":["count","contacts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/exportContactsCelebrations":{"post":{"operationId":"crm-contacts-exportContactsCelebrations","summary":"Export contacts celebrations","description":"Exports a list of contacts for the mandate that are celebrating events like birthdays, anniversaries, leaving or joining the membership <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"celebrationTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["birthday","anniversary","exit","entry"]}},"milestones":{"minItems":1,"type":"array","items":{"type":"integer","minimum":1,"maximum":9007199254740991}},"duration":{"type":"integer","minimum":1,"maximum":9007199254740991},"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"baseDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["celebrationTypes"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/list":{"post":{"operationId":"crm-contacts-listContacts","summary":"List contacts","description":"Returns a list of contacts for the mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","mandates","types","language","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","departments","activeDepartments","contracts","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","oldContactId","updatedAt"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"teamId":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"bookingContactRequirements":{"type":"object","properties":{"address":{"type":"boolean"},"phone":{"type":"boolean"}},"required":["address","phone"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"contacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"language":{"type":"string","enum":["en","de"]},"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":80},"debtor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName"],"additionalProperties":false},{"type":"null"}]},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["account","name","nameNormalized","nameSort","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit"],"additionalProperties":false},{"type":"null"}]},"creditor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["account","name","nameNormalized","nameSort","totalOwedToCreditor","totalOwedFromCreditor"],"additionalProperties":false},{"type":"null"}]},"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["type","number","name","contacts","segments","contactSegmentCounters","group"],"additionalProperties":false}},"proofs":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"proof":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]}},"required":["type","typeName","proof","status"],"additionalProperties":false}},"certificates":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"certificate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["valid","willExpire","expired"]}},"required":["type","typeName","certificate","status"],"additionalProperties":false}},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"tags":{"type":"string array"},"teams":{"type":"array","items":{"type":"object","properties":{"team":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"manual":{"type":"boolean"},"role":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"roleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["team","role","roleName","joinedAt"],"additionalProperties":false}},"user":{"type":"object","properties":{"token":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":24,"maxLength":24}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["token","claimedAt","actor"],"additionalProperties":false},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"greetings":{"type":"string","minLength":1}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","greetings"],"additionalProperties":false},"alternativeCommunications":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"id":{"type":"string","minLength":8,"maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","id","contact","contactTypes","name","description"],"additionalProperties":false}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"institution":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["type","name"],"additionalProperties":false},{"type":"null"}]},"person":{"anyOf":[{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"birthdateDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["salutation","gender","title","firstName","lastName","institutionName","printInstitutionOnAddress","birthdate","age","birthdateDayOfYear"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationReason":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":20},"message":{"type":"string","minLength":1,"maxLength":255}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"membershipDuration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"exitAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["entryAt","exitAt","terminatedAt","terminationReason","membershipDuration","entryAtDayOfYear","exitAtDayOfYear"],"additionalProperties":false},{"type":"null"}]},"employee":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","status","position","probationStartAt","probationEndAt","employmentStartAt","employmentEndAt","contractEndAt","terminatedAt","lastWorkingDayAt"],"additionalProperties":false},{"type":"null"}]},"contributor":{"anyOf":[{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["status","roleTitle","contributionStartAt","contributionEndAt"],"additionalProperties":false},{"type":"null"}]},"contactNumbers":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","maxLength":24},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"departments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"department":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"color":{"type":"string"},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["department","name","color","contactTypes","entryAt","exitAt"],"additionalProperties":false}},"activeDepartments":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"contactNumbersSort":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"issuedPasses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"issuedPass":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["issuedPass","updatedAt"],"additionalProperties":false}},"contracts":{"type":"array","items":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentInterval":{"type":"string","enum":["month","quarter","halfYear","year","custom"]},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["plan","name"],"additionalProperties":false},"lastPaidPeriod":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["startAt","endAt"],"additionalProperties":false},"lastCollection":{"type":"object","properties":{"adjustments":{"type":"array","items":{"type":"string"}}},"required":["adjustments"],"additionalProperties":false}},"required":["startAt","endAt","pause","contract","paymentInterval","plan"],"additionalProperties":false}},"portalSynchronization":{"anyOf":[{"type":"object","properties":{"ignore":{"type":"boolean"},"status":{"type":"string","enum":["synchronized","failed","removed"]},"lastSynchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"activatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"failedReason":{"type":"string"},"mailStatus":{"type":"string","enum":["pending","delivered","error"]},"mailId":{"anyOf":[{"type":"string"},{"type":"null"}]},"mailError":{"type":"string"},"mailSentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["ignore","status","lastSynchronizedAt","lastSeenAt","activatedAt","failedReason","mailStatus","mailId","mailError","mailSentAt"],"additionalProperties":false},{"type":"null"}]},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50},"tixxCustomerNo":{"type":"string","maxLength":50},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string","maxLength":50},"phoneId":{"type":"string","maxLength":50}},"required":["mobilePhoneId","phoneId"],"additionalProperties":false}},"required":["tixxId","tixxCustomerNo","communication"],"additionalProperties":false},"network":{"anyOf":[{"type":"object","properties":{"joinedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"consent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"text":{"type":"string"},"privacyUrl":{"type":"string"}},"required":["acceptedAt","text","privacyUrl"],"additionalProperties":false},{"type":"null"}]},"visibleFields":{"maxItems":40,"type":"array","items":{"type":"string"}},"reviewedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"remindedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["joinedAt","visibleFields","reviewedAt","remindedAt"],"additionalProperties":false},{"type":"null"}]},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandates","types","language","name","nameNormalized","nameSort","debtor","creditor","groups","proofs","certificates","segments","tags","teams","user","image","address","communication","alternativeCommunications","customFields","institution","person","member","employee","contributor","contactNumbers","departments","activeDepartments","contactNumbersSort","issuedPasses","contracts","portalSynchronization","eventim","network","oldContactId"],"additionalProperties":false}}},"required":["count","contacts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/unclaim":{"post":{"operationId":"crm-contacts-unclaimContact","summary":"Unclaim contact","description":"Removes the connected user from a specific contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### user.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/types/add":{"post":{"operationId":"crm-contacts-addType","summary":"Add contact type","description":"Adds an additional type to an existing contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"createAccount":{"default":false,"type":"boolean"}},"required":["type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/types/{type}/removal-impact":{"get":{"operationId":"crm-contacts-getTypeRemovalImpact","summary":"Preview contact type removal","description":"Checks removal permissions in every contact mandate and reports blockers and consequences without changing the contact. <br /><br /> \n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"type","schema":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string"},"contactName":{"type":"string"},"remainingTypes":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"blockers":{"type":"array","items":{"type":"string","enum":["lastType","membershipHistory","employmentHistory","contributionHistory","contracts","departments","manualPasses","legacySynchronization","parentData","automationRunning"]}},"customFields":{"type":"array","items":{"type":"string"}},"removedTeams":{"type":"number"},"addedTeams":{"type":"number"},"removedProofs":{"type":"number"},"automaticPasses":{"type":"number"},"hasConnectedUser":{"type":"boolean"},"hasAutomation":{"type":"boolean"}},"required":["revision","contactName","remainingTypes","blockers","customFields","removedTeams","addedTeams","removedProofs","automaticPasses","hasConnectedUser","hasAutomation"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/types/remove":{"post":{"operationId":"crm-contacts-removeType","summary":"Remove a contact type","description":"Removes one contact type after a fresh impact review. Refuses removal of the final type or unresolved dependencies. Preserves contact numbers and financial accounts. <br /><br /> \n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"revision":{"type":"string","minLength":64,"maxLength":64},"acknowledged":{"type":"boolean","const":true},"confirmationName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","revision","acknowledged","confirmationName"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"remainingTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}}},"required":["remainingTypes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/debtor":{"post":{"operationId":"crm-contacts-changeContactDebtor","summary":"Change contact debtor","description":"Changes the debtor of a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currentDebtorAction":{"anyOf":[{"type":"string","enum":["detach","detachDelete"]},{"type":"null"}]},"newDebtorAction":{"anyOf":[{"type":"string","enum":["create","assign"]},{"type":"null"}]},"newDebtorAccountToAssign":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["currentDebtorAction","newDebtorAction","newDebtorAccountToAssign"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/creditor":{"post":{"operationId":"crm-contacts-changeContactCreditor","summary":"Change contact creditor","description":"Changes the creditor of a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currentCreditorAction":{"anyOf":[{"type":"string","enum":["detach","detachDelete"]},{"type":"null"}]},"newCreditorAction":{"anyOf":[{"type":"string","enum":["create","assign"]},{"type":"null"}]},"newCreditorAccountToAssign":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["currentCreditorAction","newCreditorAction","newCreditorAccountToAssign"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/history/list":{"post":{"operationId":"crm-contacts-listHistory","summary":"List history","description":"Returns contact history, optionally including the linked debtor and creditor history accessible to the caller <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactHistory.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"includeAccountHistory":{"default":false,"type":"boolean"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":50},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"source":{"type":"object","properties":{"entityType":{"type":"string","enum":["contact","debtor","creditor"]},"entity":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["entityType","entity"],"additionalProperties":false},"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"action":{"type":"string","enum":["created","updated","added","removed","deleted"]},"groups":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"properties":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"from":{},"to":{}},"required":["path","from","to"],"additionalProperties":false}}},"required":["path"],"additionalProperties":false}}},"required":["source","_id","timestamp","actor","reviewedBy","action"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/export":{"post":{"operationId":"crm-contacts-exportContacts","summary":"Export contacts","description":"Exports contacts for the organization/mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","mandates","types","language","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","departments","activeDepartments","contracts","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","oldContactId","updatedAt"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/tags/list":{"post":{"operationId":"crm-contacts-listTags","summary":"List tags","description":"Returns a list of contact tags for the given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### tag.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/tags/remove":{"post":{"operationId":"crm-contacts-removeTag","summary":"Remove tag","description":"Removes a contact tag case-insensitively from all matching contacts in the organization and cleans dependent member booking restrictions and canonical contact tag usage. <br /><br /> \n### Required permissions:\n* #### tag.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/departments/{departmentId}/stockReport":{"post":{"operationId":"crm-contacts-updateDepartmentStockReportSettings","summary":"Update stock report settings","description":"Updates the stock report settings for the given department <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contact:member.read\n* #### department.read\n* #### crmSettings.edit","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"departmentId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"stockReport":{"type":"object","properties":{"sportNumber":{"type":"string","maxLength":4},"associationNumber":{"type":"string","maxLength":4}},"required":["sportNumber","associationNumber"]}},"required":["stockReport"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/getMembersStockReportIssues":{"post":{"operationId":"crm-contacts-getMembersStockReportIssues","summary":"Get members stock report issues","description":"Returns how many members are missing some settings to generate a stock report <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contact:member.read","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/exportMembersStockReport":{"post":{"operationId":"crm-contacts-exportMembersStockReport","summary":"Export members stock report","description":"Exports the members stock report file <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contact:member.read\n* #### department.read","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"date":{"type":"string"},"layout":{"type":"string","enum":["dosb","csv","xlsx","xml","hamburgAssociation","hessen"]},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}},"required":["layout"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"queued":{"type":"boolean","const":true}},"required":["queued"],"additionalProperties":false},{"type":"object","properties":{"queued":{"type":"boolean","const":false},"fileName":{"type":"string"},"fileType":{"type":"string"},"data":{"type":"string"}},"required":["queued","fileName","fileType","data"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/syncFromOldContact/{oldContactId}":{"post":{"operationId":"crm-contacts-syncFromOldContact","summary":"Sync from old contact","description":"Given an old contact ID, synchronizes it into a contact. <br /><br /> \n### Required permissions:\n* #### contact.read\n* #### contact.edit\n* #### contact.insert\n* #### contact.remove","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"oldContactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/sendMessage":{"post":{"operationId":"crm-contacts-sendContactsMessages","summary":"Send message to contacts","description":"Send message to contacts for the organization/mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"object","properties":{"de":{"type":"string","maxLength":998},"en":{"type":"string","maxLength":998}},"required":["de","en"]},"message":{"type":"object","properties":{"de":{"type":"string","maxLength":10000},"en":{"type":"string","maxLength":10000}},"required":["de","en"]},"sendToAlternativeCommunications":{"type":"boolean"},"avoidDuplicateEmails":{"default":false,"type":"boolean"},"replyTo":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["subject","message","sendToAlternativeCommunications","replyTo"]},{"type":"null"}]},"expressaTemplateContents":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"expressaTemplateAttachment":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},"recipients":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}},"required":["email","letter","recipients"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/membership/terminate":{"post":{"operationId":"crm-contacts-terminateContactMembership","summary":"Terminate membership for a contact","description":"Terminates the membership for the given contact. <br /><br /> \n### Required permissions:\n* #### contact:member.edit","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"exitDate":{"type":"string"},"terminationDate":{"type":"string"},"terminationReasonCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"null"}]},"contracts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["terminate","keep"]}},"departments":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["terminate","keep"]}}},"required":["exitDate","terminationDate","contracts","departments"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/membership/revert-termination":{"post":{"operationId":"crm-contacts-revertContactMembershipTermination","summary":"Revert membership termination for a contact","description":"Reverts the membership termination for the given contact. <br /><br /> \n### Required permissions:\n* #### contact:member.edit","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contracts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["revert","keep"]}},"departments":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["revert","keep"]}}},"required":["contracts","departments"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/bulkDelete":{"post":{"operationId":"crm-contacts-bulkDeleteContacts","summary":"Bulk delete contacts","description":"Deletes the given contacts and all of their data <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"deleteCreditor":{"default":true,"type":"boolean"},"deleteDebtor":{"default":true,"type":"boolean"},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","mandates","types","language","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","departments","activeDepartments","contracts","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","oldContactId","updatedAt"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/portal/retry":{"post":{"operationId":"crm-contacts-retryPortalSynchronization","summary":"Retry portal synchronization","description":"Retries the portal synchronization for the given contact if it failed. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### portalSettings.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / portal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/portal":{"post":{"operationId":"crm-contacts-updatePortalSynchronization","summary":"Update portal synchronization","description":"Updates the portal synchronization for the given contact. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### portalSettings.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / portal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ignore":{"type":"boolean"},"removeInvitation":{"default":false,"type":"boolean"}},"required":["ignore"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/documents":{"post":{"operationId":"crm-contacts-documents-createDocument","summary":"Create document","description":"Adds a document to a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactDocument.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / documents"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":100},"description":{"default":"","type":"string","maxLength":400},"shareToContact":{"default":false,"type":"boolean"},"file":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]}},"required":["name","file"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/documents/{documentId}":{"get":{"operationId":"crm-contacts-documents-getDocument","summary":"Get document","description":"Returns a specific document of a contact with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactDocument.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / documents"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"documentId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"file":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},"name":{"type":"string","maxLength":100},"description":{"type":"string","maxLength":400},"shareToContact":{"type":"boolean"},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandates","file","name","description","shareToContact"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-contacts-documents-updateDocument","summary":"Update document","description":"Updates a document on a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactDocument.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / documents"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"documentId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":100},"description":{"type":"string","maxLength":400},"shareToContact":{"type":"boolean"},"file":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]}},"required":["name","description","shareToContact","file"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-contacts-documents-deleteDocument","summary":"Delete document","description":"Deletes a document from a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactDocument.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / documents"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"documentId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/documents/list":{"post":{"operationId":"crm-contacts-documents-listDocuments","summary":"List documents","description":"Returns a list of documents for a given contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactDocument.read","tags":["crm / contacts / documents"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","file.resource","file.fileName","file.contentType","file.fileSizeBytes","name","description","shareToContact","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","createdAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"documents":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"file":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},"name":{"type":"string","maxLength":100},"description":{"type":"string","maxLength":400},"shareToContact":{"type":"boolean"},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandates","file","name","description","shareToContact"],"additionalProperties":false}}},"required":["count","documents"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/notes":{"post":{"operationId":"crm-contacts-notes-createNote","summary":"Create note","description":"Adds a note or a resubmission to a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"dueAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"assignedToUserId":{"default":null,"anyOf":[{"type":"string","minLength":16},{"type":"null"}]}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/notes/{noteId}":{"get":{"operationId":"crm-contacts-notes-getNote","summary":"Get note","description":"Returns a specific note of a contact with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"content":{"type":"string","minLength":1,"maxLength":4000},"attachments":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"createdAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"doneBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"doneAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"assignedTo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","mandates","content","attachments","dueAt","createdBy","createdAt","doneBy","doneAt","assignedTo"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-contacts-notes-updateNote","summary":"Update note","description":"Updates a note or a resubmission on a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000},"dueAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"assignedToUserId":{"default":null,"anyOf":[{"type":"string","minLength":16},{"type":"null"}]}},"required":["content","dueAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-contacts-notes-deleteNote","summary":"Delete note","description":"Deletes a note or a resubmission from a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/notes/list":{"post":{"operationId":"crm-contacts-notes-listNotes","summary":"List notes","description":"Returns a list of notes for a given contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.read","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","content","attachments","dueAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","createdAt","doneBy.name","doneBy.type","doneBy.userId","doneBy.image.resource","doneBy.image.fileName","doneBy.image.contentType","doneBy.image.fileSizeBytes","doneBy.key","doneAt","assignedTo.name","assignedTo.type","assignedTo.userId","assignedTo.image.resource","assignedTo.image.fileName","assignedTo.image.contentType","assignedTo.image.fileSizeBytes"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"content":{"type":"string","minLength":1,"maxLength":4000},"attachments":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"createdAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"doneBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"doneAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"assignedTo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","mandates","content","attachments","dueAt","createdBy","createdAt","doneBy","doneAt","assignedTo"],"additionalProperties":false}}},"required":["count","notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/{contactId}/notes/{noteId}/done":{"post":{"operationId":"crm-contacts-notes-markNoteDone","summary":"Mark note done","description":"Marks a note to be done on a contact if it was a resubmission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/notes/resubmissions/list":{"post":{"operationId":"crm-contacts-notes-listResubmissions","summary":"List resubmissions","description":"Returns a list of resubmissions for a given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.read","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"assignedToUserOnly":{"type":"boolean"},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"resubmissions":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactTypes":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"contactName":{"type":"string"},"content":{"type":"string","minLength":1,"maxLength":4000},"dueAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"createdAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"assignedTo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"contactImage":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","contact","contactTypes","contactName","content","dueAt","createdBy","createdAt","assignedTo","contactImage"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["resubmissions","count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/notes/resubmissions/stats":{"post":{"operationId":"crm-contacts-notes-getResubmissionStats","summary":"Get resubmission stats","description":"Returns filter-aware summary counters for resubmissions. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactNote.read","tags":["crm / contacts / notes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"assignedToUserOnly":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"overdue":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"today":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upcoming":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["total","overdue","today","upcoming"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/segments":{"post":{"operationId":"crm-contacts-segments-createSegment","summary":"Create segment","description":"Creates a new contact segment <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactSegment.insert","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":40},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"mandateId":{"type":"string"},"userOnly":{"default":false,"type":"boolean"}},"required":["type","name","filter","mandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/segments/{segmentIdOrKey}":{"get":{"operationId":"crm-contacts-segments-getSegment","summary":"Get segment","description":"Returns a specific contact segment with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"segmentIdOrKey","schema":{"type":"string","minLength":1},"required":true},{"in":"query","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"type","schema":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"required":true},{"in":"query","name":"includeBuiltInSegments","schema":{"default":true,"type":"boolean"}},{"in":"query","name":"includeUserSegments","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"key":{"type":"string","minLength":1,"maxLength":30},"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":80},"sortOrder":{"type":"integer","minimum":0,"maximum":9007199254740991},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},"userId":{"type":"string"},"sharedWith":{"anyOf":[{"type":"object","properties":{"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organizationName":{"type":"string"}},"required":["organization","organizationName"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","key","type","name","hint","sortOrder","filter","userId","sharedWith"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/segments/list":{"post":{"operationId":"crm-contacts-segments-listSegments","summary":"List segments","description":"Returns a list of contact segments for the given organization <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","key","name","hint","sortOrder","userId"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"type":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"string","const":"all"}]},"includeBuiltInSegments":{"default":true,"type":"boolean"},"includeUserSegments":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"excludeTypes":{"maxItems":7,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"excludeKeys":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"keys":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}},"required":["type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"key":{"type":"string","minLength":1,"maxLength":30},"type":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"name":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":80},"sortOrder":{"type":"integer","minimum":0,"maximum":9007199254740991},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},"userId":{"type":"string"},"sharedWith":{"anyOf":[{"type":"object","properties":{"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organizationName":{"type":"string"}},"required":["organization","organizationName"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","key","type","name","hint","sortOrder","filter","userId","sharedWith"],"additionalProperties":false}}},"required":["count","segments"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/segments/{segmentId}":{"post":{"operationId":"crm-contacts-segments-updateSegment","summary":"Update segment","description":"Updates a segment from an organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactSegment.edit","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"segmentId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":40},"sortOrder":{"type":"integer","minimum":0,"maximum":9007199254740991},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"required":["mandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-contacts-segments-deleteSegment","summary":"Delete segment","description":"Deletes a segment from an organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactSegment.remove","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"segmentId","schema":{"type":"string"},"required":true},{"in":"query","name":"mandateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/segments/shared":{"post":{"operationId":"crm-contacts-segments-createSharedSegment","summary":"Create shared segment","description":"Creates a new shared contact segment <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactSegment.insert","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"segmentKey":{"type":"string","minLength":1}},"required":["mandateId","segmentKey"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/segments/shared/{segmentKey}":{"delete":{"operationId":"crm-contacts-segments-deleteSharedSegment","summary":"Delete shared segment","description":"Deletes a shared segment from an organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactSegment.remove","tags":["crm / contacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"segmentKey","schema":{"type":"string","minLength":1},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersAgeMix/export":{"post":{"operationId":"crm-contacts-statistics-exportMembersAgeMix","summary":"Export members age mix","description":"Exports the member age-mix statistics for the selected period <br /><br /> \n### Required permissions:\n* #### contact:member.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"includeGender":{"type":"boolean"}},"required":["format","fromDate","toDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersDepartmentMix/export":{"post":{"operationId":"crm-contacts-statistics-exportMembersDepartmentMix","summary":"Export members department mix","description":"Exports the member department-mix statistics for the selected period <br /><br /> \n### Required permissions:\n* #### contact:member.read\n* #### department.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"includeGender":{"type":"boolean"}},"required":["format","fromDate","toDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersDevelopment/export":{"post":{"operationId":"crm-contacts-statistics-exportMembersDevelopment","summary":"Export members development","description":"Exports the member development statistics for the selected period <br /><br /> \n### Required permissions:\n* #### contact:member.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"includeGender":{"type":"boolean"}},"required":["format","fromDate","toDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersStatus/export":{"post":{"operationId":"crm-contacts-statistics-exportMembersStatus","summary":"Export members status","description":"Exports members grouped by department, age, and optionally gender on a selected date <br /><br /> \n### Required permissions:\n* #### contact:member.read\n* #### department.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"date":{"type":"string"},"includeGender":{"type":"boolean"}},"required":["format","date","includeGender"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersDevelopment":{"get":{"operationId":"crm-contacts-statistics-getMembersDevelopment","summary":"Get members development","description":"Returns aggregated member development data for an organization <br /><br /> \n### Required permissions:\n* #### contact:member.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string"},"required":true},{"in":"query","name":"toDate","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"entries":{"type":"integer","minimum":0,"maximum":9007199254740991},"exits":{"type":"integer","minimum":0,"maximum":9007199254740991},"activeMembers":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["date","entries","exits","activeMembers"],"additionalProperties":false}}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersAgeMix":{"get":{"operationId":"crm-contacts-statistics-getMembersAgeMix","summary":"Get members age mix","description":"Returns monthly active member counts split by age groups <br /><br /> \n### Required permissions:\n* #### contact:member.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string"},"required":true},{"in":"query","name":"toDate","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ageGroups":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"}},"required":["key","label"],"additionalProperties":false}},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"activeMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"buckets":{"type":"array","items":{"type":"object","properties":{"ageKey":{"type":"string"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["ageKey","count"],"additionalProperties":false}}},"required":["date","activeMembers","buckets"],"additionalProperties":false}}},"required":["ageGroups","data"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/statistics/membersDepartmentMix":{"get":{"operationId":"crm-contacts-statistics-getMembersDepartmentMix","summary":"Get members department mix","description":"Returns monthly active member department assignments split by department <br /><br /> \n### Required permissions:\n* #### contact:member.read\n* #### department.read","tags":["crm / contacts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string"},"required":true},{"in":"query","name":"toDate","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"departments":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"color":{"type":"string"}},"required":["key","label","color"],"additionalProperties":false}},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"activeMemberships":{"type":"integer","minimum":0,"maximum":9007199254740991},"buckets":{"type":"array","items":{"type":"object","properties":{"departmentKey":{"type":"string"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["departmentKey","count"],"additionalProperties":false}}},"required":["date","activeMemberships","buckets"],"additionalProperties":false}}},"required":["departments","data"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/{contactId}":{"get":{"operationId":"crm-contacts-sharedContacts-getSharedContact","summary":"Get shared contact","description":"Returns a specific shared contact for the organization <br /><br /> \n### Required permissions:\n* #### organization.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"query","name":"segmentKey","schema":{"type":"string","minLength":1},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"language":{"type":"string","enum":["en","de"]},"organizationData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"avatar":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","avatar"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":80},"debtor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName"],"additionalProperties":false},{"type":"null"}]},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"additionalProperties":false},{"type":"null"}]},"creditor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"additionalProperties":false},{"type":"null"}]},"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"additionalProperties":false}},"proofs":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"proof":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]}},"additionalProperties":false}},"certificates":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"certificate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["valid","willExpire","expired"]}},"additionalProperties":false}},"issuedPasses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"issuedPass":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["issuedPass","updatedAt"],"additionalProperties":false}},"contactNumbers":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","maxLength":24}},"contactNumbersSort":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"tags":{"type":"string array"},"teams":{"type":"array","items":{"type":"object","properties":{"team":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"manual":{"type":"boolean"},"role":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"roleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["team","role","roleName","joinedAt"],"additionalProperties":false}},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"additionalProperties":false},{"type":"null"}]},"location":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"Point"},"coordinates":{"type":"array","prefixItems":[{"type":"number","minimum":-180,"maximum":180},{"type":"number","minimum":-90,"maximum":90}]},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["type","coordinates","latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"locationUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"greetings":{"type":"string","minLength":1}},"additionalProperties":false},"alternativeCommunications":{"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"id":{"type":"string","minLength":8,"maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140}},"additionalProperties":false}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"activeDepartments":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"departments":{"type":"array","items":{"type":"object","properties":{"department":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"color":{"type":"string"},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"contracts":{"type":"array","items":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentInterval":{"type":"string","enum":["month","quarter","halfYear","year","custom"]},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["plan","name"],"additionalProperties":false},"lastPaidPeriod":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["startAt","endAt"],"additionalProperties":false},"lastCollection":{"type":"object","properties":{"adjustments":{"type":"array","items":{"type":"string"}}},"required":["adjustments"],"additionalProperties":false}},"required":["startAt","endAt","pause","contract","paymentInterval","plan"],"additionalProperties":false}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50},"tixxCustomerNo":{"type":"string","maxLength":50},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string","maxLength":50},"phoneId":{"type":"string","maxLength":50}},"required":["mobilePhoneId","phoneId"],"additionalProperties":false}},"required":["tixxId","tixxCustomerNo","communication"],"additionalProperties":false},"user":{"type":"object","properties":{"token":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":24,"maxLength":24}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["token","claimedAt","actor"],"additionalProperties":false},"network":{"anyOf":[{"type":"object","properties":{"joinedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"consent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"text":{"type":"string"},"privacyUrl":{"type":"string"}},"required":["acceptedAt","text","privacyUrl"],"additionalProperties":false},{"type":"null"}]},"visibleFields":{"maxItems":40,"type":"array","items":{"type":"string"}},"reviewedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"remindedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["joinedAt","visibleFields","reviewedAt","remindedAt"],"additionalProperties":false},{"type":"null"}]},"institution":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"additionalProperties":false},{"type":"null"}]},"person":{"anyOf":[{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"birthdateDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"parentOrganizations":{"type":"array","items":{"type":"object","properties":{"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["type","number","name","contacts","segments","contactSegmentCounters","group"],"additionalProperties":false}},"tags":{"type":"string array"},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"required":["member","address","customer","sponsor","contributor","employee","supplier"]}},"required":["groups","tags","customFields"],"additionalProperties":false}},"required":["organization","contact"],"additionalProperties":false}},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationReason":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":20},"message":{"type":"string","minLength":1,"maxLength":255}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"membershipDuration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"exitAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"employee":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"contributor":{"anyOf":[{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"nextEvaluationAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"portalSynchronization":{"anyOf":[{"type":"object","properties":{"ignore":{"type":"boolean"},"status":{"type":"string","enum":["synchronized","failed","removed"]},"lastSynchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"activatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"failedReason":{"type":"string"},"mailStatus":{"type":"string","enum":["pending","delivered","error"]},"mailId":{"anyOf":[{"type":"string"},{"type":"null"}]},"mailError":{"type":"string"},"mailSentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["ignore","status","lastSynchronizedAt","lastSeenAt","activatedAt","failedReason","mailStatus","mailId","mailError","mailSentAt"],"additionalProperties":false},{"type":"null"}]},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["_id","organization","types","organizationData","image","user"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/list":{"post":{"operationId":"crm-contacts-sharedContacts-listSharedContacts","summary":"List shared contacts","description":"Returns a list of shared contacts for the organization <br /><br /> \n### Required permissions:\n* #### organization.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandates","types","language","organizationData.name","organizationData.avatar.resource","organizationData.avatar.fileName","organizationData.avatar.contentType","organizationData.avatar.fileSizeBytes","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","location.type","location.coordinates","location.latitude","location.longitude","locationUpdatedAt","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","activeDepartments","departments","contracts","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","parentOrganizations","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","nextEvaluationAt","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","oldContactId"]},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"organizations":{"type":"array","items":{"type":"string"}},"scope":{"default":"shared","type":"string","enum":["shared","all"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"contacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"language":{"type":"string","enum":["en","de"]},"organizationData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"avatar":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","avatar"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":80},"debtor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName"],"additionalProperties":false},{"type":"null"}]},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"additionalProperties":false},{"type":"null"}]},"creditor":{"anyOf":[{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"additionalProperties":false},{"type":"null"}]},"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"additionalProperties":false}},"proofs":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"proof":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]}},"additionalProperties":false}},"certificates":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"certificate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["valid","willExpire","expired"]}},"additionalProperties":false}},"issuedPasses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"issuedPass":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["issuedPass","updatedAt"],"additionalProperties":false}},"contactNumbers":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","maxLength":24}},"contactNumbersSort":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"tags":{"type":"string array"},"teams":{"type":"array","items":{"type":"object","properties":{"team":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"manual":{"type":"boolean"},"role":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"roleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["team","role","roleName","joinedAt"],"additionalProperties":false}},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"additionalProperties":false},{"type":"null"}]},"location":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"Point"},"coordinates":{"type":"array","prefixItems":[{"type":"number","minimum":-180,"maximum":180},{"type":"number","minimum":-90,"maximum":90}]},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["type","coordinates","latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"locationUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"greetings":{"type":"string","minLength":1}},"additionalProperties":false},"alternativeCommunications":{"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"id":{"type":"string","minLength":8,"maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140}},"additionalProperties":false}},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"activeDepartments":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"departments":{"type":"array","items":{"type":"object","properties":{"department":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"color":{"type":"string"},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"contracts":{"type":"array","items":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentInterval":{"type":"string","enum":["month","quarter","halfYear","year","custom"]},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["plan","name"],"additionalProperties":false},"lastPaidPeriod":{"type":"object","properties":{"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["startAt","endAt"],"additionalProperties":false},"lastCollection":{"type":"object","properties":{"adjustments":{"type":"array","items":{"type":"string"}}},"required":["adjustments"],"additionalProperties":false}},"required":["startAt","endAt","pause","contract","paymentInterval","plan"],"additionalProperties":false}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string","maxLength":50},"tixxCustomerNo":{"type":"string","maxLength":50},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string","maxLength":50},"phoneId":{"type":"string","maxLength":50}},"required":["mobilePhoneId","phoneId"],"additionalProperties":false}},"required":["tixxId","tixxCustomerNo","communication"],"additionalProperties":false},"user":{"type":"object","properties":{"token":{"anyOf":[{"type":"string","const":""},{"type":"string","minLength":24,"maxLength":24}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["token","claimedAt","actor"],"additionalProperties":false},"network":{"anyOf":[{"type":"object","properties":{"joinedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"consent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"text":{"type":"string"},"privacyUrl":{"type":"string"}},"required":["acceptedAt","text","privacyUrl"],"additionalProperties":false},{"type":"null"}]},"visibleFields":{"maxItems":40,"type":"array","items":{"type":"string"}},"reviewedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"remindedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["joinedAt","visibleFields","reviewedAt","remindedAt"],"additionalProperties":false},{"type":"null"}]},"institution":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["business","club","association","city","other"]},"name":{"type":"string","minLength":1,"maxLength":80}},"additionalProperties":false},{"type":"null"}]},"person":{"anyOf":[{"type":"object","properties":{"salutation":{"type":"string","maxLength":40},"gender":{"anyOf":[{"type":"string","enum":["male","female","diverse"]},{"type":"null"}]},"title":{"type":"string","maxLength":40},"firstName":{"type":"string","maxLength":40},"lastName":{"type":"string","minLength":1,"maxLength":40},"institutionName":{"type":"string","maxLength":200},"printInstitutionOnAddress":{"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"birthdateDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"parentOrganizations":{"type":"array","items":{"type":"object","properties":{"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"group":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["type","number","name","contacts","segments","contactSegmentCounters","group"],"additionalProperties":false}},"tags":{"type":"string array"},"customFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"required":["member","address","customer","sponsor","contributor","employee","supplier"]}},"required":["groups","tags","customFields"],"additionalProperties":false}},"required":["organization","contact"],"additionalProperties":false}},"member":{"anyOf":[{"type":"object","properties":{"entryAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"exitAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationReason":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":20},"message":{"type":"string","minLength":1,"maxLength":255}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"membershipDuration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"exitAtDayOfYear":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"employee":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["internal","external"]},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","leave"]},{"type":"null"}]},"position":{"type":"string","maxLength":200},"probationStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"probationEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastWorkingDayAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"contributor":{"anyOf":[{"type":"object","properties":{"status":{"anyOf":[{"type":"string","enum":["active","inactive","onboarding","paused"]},{"type":"null"}]},"roleTitle":{"type":"string","maxLength":200},"contributionStartAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contributionEndAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"nextEvaluationAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"portalSynchronization":{"anyOf":[{"type":"object","properties":{"ignore":{"type":"boolean"},"status":{"type":"string","enum":["synchronized","failed","removed"]},"lastSynchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"activatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"failedReason":{"type":"string"},"mailStatus":{"type":"string","enum":["pending","delivered","error"]},"mailId":{"anyOf":[{"type":"string"},{"type":"null"}]},"mailError":{"type":"string"},"mailSentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["ignore","status","lastSynchronizedAt","lastSeenAt","activatedAt","failedReason","mailStatus","mailId","mailError","mailSentAt"],"additionalProperties":false},{"type":"null"}]},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["_id","organization","types","organizationData","image","user"],"additionalProperties":false}}},"required":["count","contacts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/export":{"post":{"operationId":"crm-contacts-sharedContacts-exportSharedContacts","summary":"Export shared contacts","description":"Exports shared contacts for the organization <br /><br /> \n### Required permissions:\n* #### organization.read","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandates","types","language","organizationData.name","organizationData.avatar.resource","organizationData.avatar.fileName","organizationData.avatar.contentType","organizationData.avatar.fileSizeBytes","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","location.type","location.coordinates","location.latitude","location.longitude","locationUpdatedAt","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","activeDepartments","departments","contracts","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","parentOrganizations","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","nextEvaluationAt","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","oldContactId"]},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"organizations":{"type":"array","items":{"type":"string"}},"scope":{"default":"shared","type":"string","enum":["shared","all"]}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/sendMessage":{"post":{"operationId":"crm-contacts-sharedContacts-sendSharedContactsMessages","summary":"Send message to shared contacts","description":"Send message to shared contacts <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"object","properties":{"de":{"type":"string","maxLength":998},"en":{"type":"string","maxLength":998}},"required":["de","en"]},"message":{"type":"object","properties":{"de":{"type":"string","maxLength":10000},"en":{"type":"string","maxLength":10000}},"required":["de","en"]},"sendToAlternativeCommunications":{"type":"boolean"},"avoidDuplicateEmails":{"default":false,"type":"boolean"},"replyTo":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["subject","message","sendToAlternativeCommunications","replyTo"]},{"type":"null"}]},"expressaTemplateContents":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"expressaTemplateAttachment":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},"recipients":{"type":"object","properties":{"searchTerm":{"type":"string"},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandates","types","language","organizationData.name","organizationData.avatar.resource","organizationData.avatar.fileName","organizationData.avatar.contentType","organizationData.avatar.fileSizeBytes","name","nameNormalized","nameSort","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","debtor.receiptSendMethod","debtor.sepaDirectDebitMandate.iban","debtor.sepaDirectDebitMandate.bic","debtor.sepaDirectDebitMandate.sepaMandateId","debtor.sepaDirectDebitMandate.sepaMandateSignatureDate","debtor.sepaDirectDebitMandate.accountHolderName","debtor.totalOwedFromDebtor","debtor.totalOwedToDebtor","debtor.totalDeposit","creditor.account","creditor.name","creditor.nameNormalized","creditor.nameSort","creditor.totalOwedToCreditor","creditor.totalOwedFromCreditor","groups","proofs","certificates","segments","tags","teams","image.resource","image.fileName","image.contentType","image.fileSizeBytes","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","location.type","location.coordinates","location.latitude","location.longitude","locationUpdatedAt","communication.email","communication.phone","communication.mobilePhone","communication.mailing","communication.mailingTags","communication.mailingUnsubscriptions","communication.greetings","alternativeCommunications","activeDepartments","departments","contracts","eventim.tixxId","eventim.tixxCustomerNo","eventim.communication.mobilePhoneId","eventim.communication.phoneId","user.token","user.claimedAt","user.actor.name","user.actor.type","user.actor.userId","user.actor.image.resource","user.actor.image.fileName","user.actor.image.contentType","user.actor.image.fileSizeBytes","network.joinedAt","network.consent.acceptedAt","network.consent.text","network.consent.privacyUrl","network.visibleFields","network.reviewedAt","network.remindedAt","institution.type","institution.name","person.salutation","person.gender","person.title","person.firstName","person.lastName","person.institutionName","person.printInstitutionOnAddress","person.birthdate","person.age","person.birthdateDayOfYear","parentOrganizations","member.entryAt","member.exitAt","member.terminatedAt","member.terminationReason.code","member.terminationReason.message","member.membershipDuration","member.entryAtDayOfYear","member.exitAtDayOfYear","employee.type","employee.status","employee.position","employee.probationStartAt","employee.probationEndAt","employee.employmentStartAt","employee.employmentEndAt","employee.contractEndAt","employee.terminatedAt","employee.lastWorkingDayAt","contributor.status","contributor.roleTitle","contributor.contributionStartAt","contributor.contributionEndAt","nextEvaluationAt","portalSynchronization.ignore","portalSynchronization.status","portalSynchronization.lastSynchronizedAt","portalSynchronization.lastSeenAt","portalSynchronization.activatedAt","portalSynchronization.failedReason","portalSynchronization.mailStatus","portalSynchronization.mailId","portalSynchronization.mailError","portalSynchronization.mailSentAt","oldContactId"]},{"type":"string","pattern":"^issuedPasses\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbers\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactNumbersSort\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"organizations":{"type":"array","items":{"type":"string"}},"scope":{"default":"shared","type":"string","enum":["shared","all"]}}}},"required":["mandateId","email","letter","recipients"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/{contactId}/tags":{"post":{"operationId":"crm-contacts-sharedContacts-updateSharedContactTags","summary":"Update shared contact tags","description":"Updates shared contact tags for the organization <br /><br /> \n### Required permissions:\n* #### organization.read\n* #### mandate.read\n* #### tag.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"tags":{"maxItems":64,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["mandateId","tags"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/contacts/shared/{contactId}/customFields":{"post":{"operationId":"crm-contacts-sharedContacts-updateSharedContactCustomFields","summary":"Update shared contact custom fields","description":"Updates parent organization custom fields on a shared contact <br /><br /> \n### Required permissions:\n* #### organization.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["contactType","customFields"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/list":{"post":{"operationId":"crm-conversations-listConversations","summary":"List conversations","description":"Returns a list of conversations for the given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### conversation.read","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","recipients","subject","read","lastMessageAt","folder","mailbox"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"mailbox":{"default":"inbox","type":"string","enum":["inbox","spam","archived","deleted"]},"folderId":{"anyOf":[{"type":"string"},{"type":"null"}]},"read":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"search":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["folderId","read","search","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"conversations":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recipients":{"type":"array","items":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false}},"subject":{"type":"string"},"read":{"type":"boolean"},"lastMessageAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"folder":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"mailbox":{"type":"string","enum":["inbox","spam","archived","deleted"]}},"required":["_id","recipients","subject","read","lastMessageAt","folder","mailbox"],"additionalProperties":false}},"unreadCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["count","conversations","unreadCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/conversations/inbox-email":{"post":{"operationId":"crm-conversations-getInboxEmail","summary":"Get inbox email address","description":"Returns the email address used to send emails from the inbox <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### conversation.read","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inboxEmail":{"type":"string"}},"required":["inboxEmail"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/messages/list":{"post":{"operationId":"crm-conversations-listConversationMessages","summary":"List conversation messages","description":"Returns a list of messages for a given conversation <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### conversation.read","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","conversation","messageId","date","author.actor.name","author.actor.type","author.actor.userId","author.actor.image.resource","author.actor.image.fileName","author.actor.image.contentType","author.actor.image.fileSizeBytes","author.actor.key","author.actor.nameNormalized","author.actor.nameSort","author.actor.contact","author.actor.user.name","author.actor.user.type","author.actor.user.userId","author.actor.user.image.resource","author.actor.user.image.fileName","author.actor.user.image.contentType","author.actor.user.image.fileSizeBytes","author.email","author.type","type","contentType","noteText","failedReason","mailStatus","bodyHtml.resource","bodyHtml.fileName","bodyHtml.contentType","bodyHtml.fileSizeBytes","strippedBodyHtml.resource","strippedBodyHtml.fileName","strippedBodyHtml.contentType","strippedBodyHtml.fileSizeBytes","bodyText","strippedBodyText","attachmentIgnored","attachments"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"markAsRead":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"messages":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"conversation":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"messageId":{"type":"string","minLength":1},"date":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"author":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false},"type":{"type":"string","enum":["incoming","outgoing"]},"contentType":{"type":"string","enum":["note","message"]},"noteText":{"anyOf":[{"type":"string"},{"type":"null"}]},"failedReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"mailStatus":{"type":"string","enum":["pending","delivered","error"]},"bodyHtml":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"strippedBodyHtml":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"bodyText":{"anyOf":[{"type":"string"},{"type":"null"}]},"strippedBodyText":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachmentIgnored":{"type":"boolean"},"attachments":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6},"contentId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["resource","id"],"additionalProperties":false}}},"required":["_id","conversation","messageId","date","author","type","contentType","noteText","failedReason","bodyHtml","strippedBodyHtml","bodyText","strippedBodyText","attachmentIgnored","attachments"],"additionalProperties":false}},"conversation":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recipients":{"type":"array","items":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false}},"subject":{"type":"string"},"read":{"type":"boolean"},"lastMessageAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"folder":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"mailbox":{"type":"string","enum":["inbox","spam","archived","deleted"]}},"required":["_id","recipients","subject","read","lastMessageAt","folder","mailbox"],"additionalProperties":false}},"required":["count","messages","conversation"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/messages":{"post":{"operationId":"crm-conversations-createConversationMessage","summary":"Create conversation message","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.insert","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"inlineImages":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"content":{"oneOf":[{"type":"object","properties":{"contentType":{"type":"string","const":"note"},"noteText":{"type":"string","minLength":1}},"required":["contentType","noteText"]},{"type":"object","properties":{"contentType":{"type":"string","const":"message"},"bodyText":{"type":"string","minLength":1}},"required":["contentType","bodyText"]}],"type":"object"}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}":{"delete":{"operationId":"crm-conversations-deleteConversation","summary":"Permanently deletes a conversation","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.remove","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/folder":{"post":{"operationId":"crm-conversations-updateConversationFolder","summary":"Updates a conversation folder","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folderId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["folderId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/mailbox":{"post":{"operationId":"crm-conversations-updateConversationMailbox","summary":"Updates a conversation mailbox","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mailbox":{"type":"string","enum":["inbox","spam","archived","deleted"]}},"required":["mailbox"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/read":{"post":{"operationId":"crm-conversations-markConversationRead","summary":"Marks a conversation as read","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/unread":{"post":{"operationId":"crm-conversations-markConversationUnread","summary":"Marks a conversation as unread","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/conversations/folders":{"post":{"operationId":"crm-conversations-folders-createConversationFolder","summary":"Creates a new conversation folder","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.insert","tags":["crm / conversations / folders"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-F]{6}$"},{"type":"null"}]}},"required":["name","color"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/conversations/folders/list":{"post":{"operationId":"crm-conversations-folders-listConversationFolders","summary":"List conversation folders","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.read","tags":["crm / conversations / folders"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"folders":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-F]{6}$"},{"type":"null"}]}},"required":["_id","name","slug","color"],"additionalProperties":false}}},"required":["folders"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/conversations/folders/{folderId}":{"post":{"operationId":"crm-conversations-folders-updateConversationFolder","summary":"Updates a conversation folder","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations / folders"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"folderId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-F]{6}$"},{"type":"null"}]}},"required":["name","color"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-conversations-folders-deleteConversationFolder","summary":"Deletes a conversation folder","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.remove","tags":["crm / conversations / folders"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"folderId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDelete","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/recipients":{"post":{"operationId":"crm-conversations-recipients-addConversationRecipient","summary":"Adds a conversation recipient","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations / recipients"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"email":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"recipients":{"type":"array","items":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false}}},"required":["recipients"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-conversations-recipients-removeConversationRecipient","summary":"Removes a conversation recipient","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations / recipients"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true},{"in":"query","name":"recipientEmail","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"recipients":{"type":"array","items":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false}}},"required":["recipients"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/conversations/{conversationId}/recipients/contact":{"post":{"operationId":"crm-conversations-recipients-updateConversationRecipientContact","summary":"Updates recipient contact assignment","description":"\n### Required permissions:\n* #### mandate.read\n* #### conversation.edit","tags":["crm / conversations / recipients"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"conversationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recipientEmail":{"type":"string"},"contactId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["recipientEmail","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"recipients":{"type":"array","items":{"type":"object","properties":{"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"email":{"type":"string"},"type":{"type":"string","enum":["cc","author"]}},"required":["actor","email","type"],"additionalProperties":false}}},"required":["recipients"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contacts/groups":{"post":{"operationId":"crm-groups-createGroup","summary":"Create a contact group","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactGroup.insert\n### Permissions if type is provided:\n* #### contactGroupType.read\n","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scope":{"type":"string","enum":["local","global"]},"name":{"default":"","type":"string","maxLength":40},"description":{"default":"","type":"string","maxLength":400},"typeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["scope"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","minLength":1,"maxLength":24}},"required":["_id","number"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/groupSuggestions":{"post":{"operationId":"crm-groups-getGroupSuggestions","summary":"Suggest contact groups","description":"Lists contacts ranked by matching surname, address and email, including their accessible groups. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactGroup.read\n* #### contactGroupType.read\n* #### contactGroupMembership.insert","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"}},"required":["contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"lastName":{"type":"string"},"types":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40}},"required":["_id","name"],"additionalProperties":false}},"matches":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"matches":{"type":"array","items":{"type":"string","enum":["lastName","address","email"]}},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"groups":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","maxLength":40},"number":{"type":"string","minLength":1,"maxLength":24},"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"locked":{"type":"boolean"}},"required":["_id","name","number","type","locked"],"additionalProperties":false}}},"required":["_id","name","matches","score","groups"],"additionalProperties":false}}},"required":["lastName","types","matches"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}/addContacts":{"post":{"operationId":"crm-groups-addContacts","summary":"Add contacts to a group","description":"Adds up to 20 contacts to an existing unlocked group. Existing memberships are retained. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactGroup.read\n* #### contactGroupMembership.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string"}}},"required":["contactIds"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}":{"get":{"operationId":"crm-groups-getGroup","summary":"Gets a contact group","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactGroup.read","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["local","global"]},"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":400},"locked":{"type":"boolean"},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["_id","mandates","scope","type","number","name","description","locked","contacts","segments","contactSegmentCounters"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-groups-updateGroup","summary":"Updates a contact group","description":"\n### Required permissions:\n* #### contactGroup.edit","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":400},"locked":{"type":"boolean"},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["name","description","locked"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-groups-deleteGroup","summary":"Deletes a contact group","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactGroup.remove","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/list":{"post":{"operationId":"crm-groups-listGroups","summary":"List all contact groups","description":"\n### Required permissions:\n* #### contactGroup.read","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","scope","type","number","name","description","locked","contacts","segments"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactSegmentCounters\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"typeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"typeIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}},"locked":{"type":"boolean"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"groups":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["local","global"]},"type":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"number":{"type":"string","minLength":1,"maxLength":24},"name":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":400},"locked":{"type":"boolean"},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"contacts":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"contactSegmentCounters":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":30},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["_id","mandates","scope","type","number","name","description","locked","contacts","segments","contactSegmentCounters"],"additionalProperties":false}}},"required":["count","groups"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/export":{"post":{"operationId":"crm-groups-exportGroups","summary":"Export all contact groups","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactGroup.read","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"typeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"typeIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}},"locked":{"type":"boolean"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","scope","type","number","name","description","locked","contacts","segments"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^contactSegmentCounters\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/bulkDelete":{"post":{"operationId":"crm-groups-bulkDeleteGroups","summary":"Bulk deletes contact groups","description":"Deletes the selected contact groups, their memberships, and their links to contacts. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactGroup.remove","tags":["crm / groups"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"typeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"typeIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}},"locked":{"type":"boolean"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["selection"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deletedCount":{"type":"number"}},"required":["deletedCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/groups/types":{"post":{"operationId":"crm-groups-types-createType","summary":"Create contact group type","description":"\n### Required permissions:\n* #### contactGroupType.insert","tags":["crm / groups / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"numberPrefix":{"type":"string","minLength":2,"maxLength":12},"groupCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"memberCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"suggestFamilyMembers":{"default":false,"type":"boolean"}},"required":["name","numberPrefix","groupCustomFields","memberCustomFields"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/groups/types/{typeId}":{"get":{"operationId":"crm-groups-types-getType","summary":"Gets a specific contact group type with all of its details","description":"","tags":["crm / groups / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"numberPrefix":{"type":"string","minLength":2,"maxLength":12},"suggestFamilyMembers":{"type":"boolean"},"memberCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"groupCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","name","numberPrefix","suggestFamilyMembers","memberCustomFields","groupCustomFields"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-groups-types-updateType","summary":"Updates a contact group type","description":"\n### Required permissions:\n* #### contactGroupType.edit","tags":["crm / groups / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"suggestFamilyMembers":{"type":"boolean"},"groupCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"memberCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-groups-types-deleteType","summary":"Deletes a contact group type","description":"\n### Required permissions:\n* #### contactGroupType.remove","tags":["crm / groups / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/groups/types/list":{"post":{"operationId":"crm-groups-types-listTypes","summary":"Gets a list of contact group types","description":"","tags":["crm / groups / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","numberPrefix","suggestFamilyMembers","memberCustomFields.groups","memberCustomFields.pages","memberCustomFields.submitCaption","memberCustomFields.appearance.accentColor","memberCustomFields.appearance.accentTextColor","memberCustomFields.appearance.box.border.width","memberCustomFields.appearance.box.border.color","memberCustomFields.appearance.box.border.radius","memberCustomFields.appearance.box.background.color","memberCustomFields.appearance.box.font.color","memberCustomFields.appearance.box.font.size","memberCustomFields.appearance.box.font.weight","memberCustomFields.appearance.box.shadows","memberCustomFields.appearance.box.padding.left","memberCustomFields.appearance.box.padding.right","memberCustomFields.appearance.box.padding.top","memberCustomFields.appearance.box.padding.bottom","memberCustomFields.appearance.box.margin.left","memberCustomFields.appearance.box.margin.right","memberCustomFields.appearance.box.margin.top","memberCustomFields.appearance.box.margin.bottom","memberCustomFields.appearance.groupBox.border.width","memberCustomFields.appearance.groupBox.border.color","memberCustomFields.appearance.groupBox.border.radius","memberCustomFields.appearance.groupBox.background.color","memberCustomFields.appearance.groupBox.font.color","memberCustomFields.appearance.groupBox.font.size","memberCustomFields.appearance.groupBox.font.weight","memberCustomFields.appearance.groupBox.shadows","memberCustomFields.appearance.groupBox.padding.left","memberCustomFields.appearance.groupBox.padding.right","memberCustomFields.appearance.groupBox.padding.top","memberCustomFields.appearance.groupBox.padding.bottom","memberCustomFields.appearance.groupBox.margin.left","memberCustomFields.appearance.groupBox.margin.right","memberCustomFields.appearance.groupBox.margin.top","memberCustomFields.appearance.groupBox.margin.bottom","memberCustomFields.appearance.inputBox.border.width","memberCustomFields.appearance.inputBox.border.color","memberCustomFields.appearance.inputBox.border.radius","memberCustomFields.appearance.inputBox.background.color","memberCustomFields.appearance.inputBox.font.color","memberCustomFields.appearance.inputBox.font.size","memberCustomFields.appearance.inputBox.font.weight","memberCustomFields.appearance.inputBox.shadows","memberCustomFields.appearance.inputBox.padding.left","memberCustomFields.appearance.inputBox.padding.right","memberCustomFields.appearance.inputBox.padding.top","memberCustomFields.appearance.inputBox.padding.bottom","memberCustomFields.appearance.inputBox.margin.left","memberCustomFields.appearance.inputBox.margin.right","memberCustomFields.appearance.inputBox.margin.top","memberCustomFields.appearance.inputBox.margin.bottom","memberCustomFields.appearance.inputBox.labelFont.color","memberCustomFields.appearance.inputBox.labelFont.size","memberCustomFields.appearance.inputBox.labelFont.weight","memberCustomFields.appearance.inputBox.height","memberCustomFields.validations","groupCustomFields.groups","groupCustomFields.pages","groupCustomFields.submitCaption","groupCustomFields.appearance.accentColor","groupCustomFields.appearance.accentTextColor","groupCustomFields.appearance.box.border.width","groupCustomFields.appearance.box.border.color","groupCustomFields.appearance.box.border.radius","groupCustomFields.appearance.box.background.color","groupCustomFields.appearance.box.font.color","groupCustomFields.appearance.box.font.size","groupCustomFields.appearance.box.font.weight","groupCustomFields.appearance.box.shadows","groupCustomFields.appearance.box.padding.left","groupCustomFields.appearance.box.padding.right","groupCustomFields.appearance.box.padding.top","groupCustomFields.appearance.box.padding.bottom","groupCustomFields.appearance.box.margin.left","groupCustomFields.appearance.box.margin.right","groupCustomFields.appearance.box.margin.top","groupCustomFields.appearance.box.margin.bottom","groupCustomFields.appearance.groupBox.border.width","groupCustomFields.appearance.groupBox.border.color","groupCustomFields.appearance.groupBox.border.radius","groupCustomFields.appearance.groupBox.background.color","groupCustomFields.appearance.groupBox.font.color","groupCustomFields.appearance.groupBox.font.size","groupCustomFields.appearance.groupBox.font.weight","groupCustomFields.appearance.groupBox.shadows","groupCustomFields.appearance.groupBox.padding.left","groupCustomFields.appearance.groupBox.padding.right","groupCustomFields.appearance.groupBox.padding.top","groupCustomFields.appearance.groupBox.padding.bottom","groupCustomFields.appearance.groupBox.margin.left","groupCustomFields.appearance.groupBox.margin.right","groupCustomFields.appearance.groupBox.margin.top","groupCustomFields.appearance.groupBox.margin.bottom","groupCustomFields.appearance.inputBox.border.width","groupCustomFields.appearance.inputBox.border.color","groupCustomFields.appearance.inputBox.border.radius","groupCustomFields.appearance.inputBox.background.color","groupCustomFields.appearance.inputBox.font.color","groupCustomFields.appearance.inputBox.font.size","groupCustomFields.appearance.inputBox.font.weight","groupCustomFields.appearance.inputBox.shadows","groupCustomFields.appearance.inputBox.padding.left","groupCustomFields.appearance.inputBox.padding.right","groupCustomFields.appearance.inputBox.padding.top","groupCustomFields.appearance.inputBox.padding.bottom","groupCustomFields.appearance.inputBox.margin.left","groupCustomFields.appearance.inputBox.margin.right","groupCustomFields.appearance.inputBox.margin.top","groupCustomFields.appearance.inputBox.margin.bottom","groupCustomFields.appearance.inputBox.labelFont.color","groupCustomFields.appearance.inputBox.labelFont.size","groupCustomFields.appearance.inputBox.labelFont.weight","groupCustomFields.appearance.inputBox.height","groupCustomFields.validations"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"types":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"numberPrefix":{"type":"string","minLength":2,"maxLength":12},"suggestFamilyMembers":{"type":"boolean"},"memberCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"groupCustomFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","name","numberPrefix","suggestFamilyMembers","memberCustomFields","groupCustomFields"],"additionalProperties":false}}},"required":["count","types"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}/memberships":{"post":{"operationId":"crm-groups-memberships-createMembership","summary":"Creates a membership for a contact in a group","description":"\n### Required permissions:\n* #### contactGroup.read\n* #### contactGroupType.read\n* #### contactGroupMembership.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}/memberships/{contactId}":{"get":{"operationId":"crm-groups-memberships-getMembership","summary":"Gets the membership of a contact in a group","description":"\n### Required permissions:\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.read","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","contact","customFields"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-groups-memberships-updateMembership","summary":"Updates a membership for a contact in a group","description":"\n### Required permissions:\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-groups-memberships-deleteMembership","summary":"Deletes a contact from a group","description":"\n### Required permissions:\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}/memberships/list":{"post":{"operationId":"crm-groups-memberships-listMemberships","summary":"Gets a list of memberships for a group","description":"\n### Required permissions:\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.read","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"memberships":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","contact","customFields"],"additionalProperties":false}}},"required":["count","memberships"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/groups/{groupIdOrNumber}/memberships/export":{"post":{"operationId":"crm-groups-memberships-exportMemberships","summary":"Exports memberships for a group","description":"\n### Required permissions:\n* #### contactGroupType.read\n* #### contactGroup.read\n* #### contactGroupMembership.read","tags":["crm / groups / memberships"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"groupIdOrNumber","schema":{"anyOf":[{"type":"string"},{"type":"string"}]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes":{"post":{"operationId":"crm-passes-createIssuedPass","summary":"Issue a pass","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.insert","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"passTemplateId":{"type":"string"},"contactId":{"type":"string"}},"required":["passTemplateId","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/{issuedPassId}":{"get":{"operationId":"crm-passes-getIssuedPass","summary":"Gets a specific issued pass with all of its details","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"issuedPassId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"holder":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1,"maxLength":80},"nameSort":{"type":"string","minLength":1,"maxLength":80},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","nameSort","email","contact"],"additionalProperties":false},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"revokedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"dispatchStatus":{"anyOf":[{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"object","properties":{"sendStatus":{"type":"string","const":"scheduled"},"scheduledTo":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["sendStatus","scheduledTo"],"additionalProperties":false}]},{"type":"null"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"expressaIssuedPass":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"printedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"printedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"printStatus":{"type":"string","enum":["pending","printed"]},"receiptNumber":{"anyOf":[{"type":"string","maxLength":30},{"type":"string","const":""}]},"passTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"validFrom":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"passTemplateName":{"type":"string","minLength":1,"maxLength":40},"passTemplatePrintable":{"type":"boolean"}},"required":["_id","holder","revokedAt","revokedBy","data","dispatchStatus","installationStatus","expressaIssuedPass","printedAt","printedBy","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-passes-updateIssuedPass","summary":"Update an issued pass","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"issuedPassId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["revokedAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-passes-deleteIssuedPass","summary":"Deletes an issued pass","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.remove","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"issuedPassId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/list":{"post":{"operationId":"crm-passes-listIssuedPasses","summary":"Gets a list of passes","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","holder.name","holder.nameNormalized","holder.nameSort","holder.email","holder.contact","revokedAt","revokedBy.name","revokedBy.type","revokedBy.userId","revokedBy.image.resource","revokedBy.image.fileName","revokedBy.image.contentType","revokedBy.image.fileSizeBytes","revokedBy.key","dispatchStatus.openedAt","dispatchStatus.clickedAt","dispatchStatus.unsubscribedAt","dispatchStatus.sentAt","dispatchStatus.dispatchedBy.name","dispatchStatus.dispatchedBy.type","dispatchStatus.dispatchedBy.userId","dispatchStatus.dispatchedBy.image.resource","dispatchStatus.dispatchedBy.image.fileName","dispatchStatus.dispatchedBy.image.contentType","dispatchStatus.dispatchedBy.image.fileSizeBytes","dispatchStatus.dispatchedBy.key","dispatchStatus.sendStatus","dispatchStatus.sendError","dispatchStatus.sendPrice","dispatchStatus.scheduledTo","installationStatus","expressaIssuedPass","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","printedAt","printedBy.name","printedBy.type","printedBy.userId","printedBy.image.resource","printedBy.image.fileName","printedBy.image.contentType","printedBy.image.fileSizeBytes","printedBy.key","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"]},{"type":"string","pattern":"^data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"passTemplateId":{"type":"string"},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"dispatchStatus":{"anyOf":[{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},{"type":"string","const":"scheduled"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"printStatus":{"type":"string","enum":["pending","printed"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"passes":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"holder":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1,"maxLength":80},"nameSort":{"type":"string","minLength":1,"maxLength":80},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","nameSort","email","contact"],"additionalProperties":false},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"revokedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"dispatchStatus":{"anyOf":[{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"object","properties":{"sendStatus":{"type":"string","const":"scheduled"},"scheduledTo":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["sendStatus","scheduledTo"],"additionalProperties":false}]},{"type":"null"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"expressaIssuedPass":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"printedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"printedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"printStatus":{"type":"string","enum":["pending","printed"]},"receiptNumber":{"anyOf":[{"type":"string","maxLength":30},{"type":"string","const":""}]},"passTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"validFrom":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"passTemplateName":{"type":"string","minLength":1,"maxLength":40},"passTemplatePrintable":{"type":"boolean"}},"required":["_id","holder","revokedAt","revokedBy","data","dispatchStatus","installationStatus","expressaIssuedPass","printedAt","printedBy","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"],"additionalProperties":false}}},"required":["count","passes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/export":{"post":{"operationId":"crm-passes-exportIssuedPasses","summary":"Export a list of passes","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"passTemplateId":{"type":"string"},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"dispatchStatus":{"anyOf":[{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},{"type":"string","const":"scheduled"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"printStatus":{"type":"string","enum":["pending","printed"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","holder.name","holder.nameNormalized","holder.nameSort","holder.email","holder.contact","revokedAt","revokedBy.name","revokedBy.type","revokedBy.userId","revokedBy.image.resource","revokedBy.image.fileName","revokedBy.image.contentType","revokedBy.image.fileSizeBytes","revokedBy.key","dispatchStatus.openedAt","dispatchStatus.clickedAt","dispatchStatus.unsubscribedAt","dispatchStatus.sentAt","dispatchStatus.dispatchedBy.name","dispatchStatus.dispatchedBy.type","dispatchStatus.dispatchedBy.userId","dispatchStatus.dispatchedBy.image.resource","dispatchStatus.dispatchedBy.image.fileName","dispatchStatus.dispatchedBy.image.contentType","dispatchStatus.dispatchedBy.image.fileSizeBytes","dispatchStatus.dispatchedBy.key","dispatchStatus.sendStatus","dispatchStatus.sendError","dispatchStatus.sendPrice","dispatchStatus.scheduledTo","installationStatus","expressaIssuedPass","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","printedAt","printedBy.name","printedBy.type","printedBy.userId","printedBy.image.resource","printedBy.image.fileName","printedBy.image.contentType","printedBy.image.fileSizeBytes","printedBy.key","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"]},{"type":"string","pattern":"^data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/exportForPrint":{"post":{"operationId":"crm-passes-exportIssuedPassesForPrint","summary":"Export a list of passes for print","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"passTemplateId":{"type":"string"},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"dispatchStatus":{"anyOf":[{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},{"type":"string","const":"scheduled"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"printStatus":{"type":"string","enum":["pending","printed"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","holder.name","holder.nameNormalized","holder.nameSort","holder.email","holder.contact","revokedAt","revokedBy.name","revokedBy.type","revokedBy.userId","revokedBy.image.resource","revokedBy.image.fileName","revokedBy.image.contentType","revokedBy.image.fileSizeBytes","revokedBy.key","dispatchStatus.openedAt","dispatchStatus.clickedAt","dispatchStatus.unsubscribedAt","dispatchStatus.sentAt","dispatchStatus.dispatchedBy.name","dispatchStatus.dispatchedBy.type","dispatchStatus.dispatchedBy.userId","dispatchStatus.dispatchedBy.image.resource","dispatchStatus.dispatchedBy.image.fileName","dispatchStatus.dispatchedBy.image.contentType","dispatchStatus.dispatchedBy.image.fileSizeBytes","dispatchStatus.dispatchedBy.key","dispatchStatus.sendStatus","dispatchStatus.sendError","dispatchStatus.sendPrice","dispatchStatus.scheduledTo","installationStatus","expressaIssuedPass","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","printedAt","printedBy.name","printedBy.type","printedBy.userId","printedBy.image.resource","printedBy.image.fileName","printedBy.image.contentType","printedBy.image.fileSizeBytes","printedBy.key","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"]},{"type":"string","pattern":"^data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/print":{"post":{"operationId":"crm-passes-printIssuedPasses","summary":"Prints a list of passes","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read\n* #### contactPassTemplate.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"searchTerm":{"type":"string"},"dispatchStatus":{"anyOf":[{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},{"type":"string","const":"scheduled"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"printStatus":{"type":"string","enum":["pending","printed"]},"passTemplateId":{"type":"string"},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","holder.name","holder.nameNormalized","holder.nameSort","holder.email","holder.contact","revokedAt","revokedBy.name","revokedBy.type","revokedBy.userId","revokedBy.image.resource","revokedBy.image.fileName","revokedBy.image.contentType","revokedBy.image.fileSizeBytes","revokedBy.key","dispatchStatus.openedAt","dispatchStatus.clickedAt","dispatchStatus.unsubscribedAt","dispatchStatus.sentAt","dispatchStatus.dispatchedBy.name","dispatchStatus.dispatchedBy.type","dispatchStatus.dispatchedBy.userId","dispatchStatus.dispatchedBy.image.resource","dispatchStatus.dispatchedBy.image.fileName","dispatchStatus.dispatchedBy.image.contentType","dispatchStatus.dispatchedBy.image.fileSizeBytes","dispatchStatus.dispatchedBy.key","dispatchStatus.sendStatus","dispatchStatus.sendError","dispatchStatus.sendPrice","dispatchStatus.scheduledTo","installationStatus","expressaIssuedPass","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","printedAt","printedBy.name","printedBy.type","printedBy.userId","printedBy.image.resource","printedBy.image.fileName","printedBy.image.contentType","printedBy.image.fileSizeBytes","printedBy.key","printStatus","receiptNumber","passTemplate","validFrom","validTo","passTemplateName","passTemplatePrintable"]},{"type":"string","pattern":"^data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"markAsPrinted":{"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["passTemplateId","markAsPrinted"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"completed"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"generated"},"data":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"fileName":{"type":"string"}},"required":["state","data","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/{issuedPassId}/getInstallUrl":{"get":{"operationId":"crm-passes-getIssuedPassInstallUrl","summary":"Gets the install url for a specific issued pass","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"issuedPassId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"installUrl":{"type":"string","format":"uri"}},"required":["installUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/sendIssuedPassesEmails":{"post":{"operationId":"crm-passes-sendIssuedPassesEmails","summary":"Send issued passes emails","description":"Send emails for one or more issued passes <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.read\n* #### contactIssuedPass.edit","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"passTemplateId":{"type":"string"},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"dispatchStatus":{"anyOf":[{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},{"type":"string","const":"scheduled"}]},"installationStatus":{"type":"string","enum":["pending","installed","uninstalled"]},"printStatus":{"type":"string","enum":["pending","printed"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"dispatchStatus":{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false}},"required":["dispatchStatus"],"additionalProperties":false},{"type":"object","properties":{"queue":{"type":"boolean"}},"required":["queue"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/{issuedPassId}/rotate":{"post":{"operationId":"crm-passes-rotateIssuedPass","summary":"Invalidates an issued pass and issues a replacement","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactIssuedPass.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"issuedPassId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}":{"get":{"operationId":"crm-passes-templates-getPassTemplate","summary":"Gets a specific pass template with all of its details","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.read","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":100},"target":{"type":"string","enum":["wallet","print","walletAndPrint"]},"expressaPrintTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"useRecognizableBarcode":{"type":"boolean"},"publishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"statistics":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"installed":{"type":"integer","minimum":0,"maximum":9007199254740991},"uninstalled":{"type":"integer","minimum":0,"maximum":9007199254740991},"printed":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","installed","uninstalled","printed"],"additionalProperties":false},"emailSubject":{"type":"string","maxLength":100},"emailMessage":{"type":"string","maxLength":1600},"validFrom":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]},"validTo":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]},"emailDaysBefore":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]}},"required":["_id","name","description","target","expressaPrintTemplate","contactType","contactSegments","useRecognizableBarcode","publishedAt","statistics","emailSubject","emailMessage","validFrom","validTo","emailDaysBefore"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-passes-templates-updatePassTemplate","summary":"Updates a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":100},"useRecognizableBarcode":{"type":"boolean"},"emailSubject":{"type":"string","maxLength":100},"emailMessage":{"type":"string","maxLength":1600},"validFrom":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]},"validTo":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]},"emailDaysBefore":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]}},"required":["name","description","useRecognizableBarcode","emailSubject","emailMessage","validFrom","validTo","emailDaysBefore"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-passes-templates-deletePassTemplate","summary":"Deletes a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.remove","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}/content":{"get":{"operationId":"crm-passes-templates-getPassTemplateContent","summary":"Gets a specific pass template content","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.read","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"pass":{"$ref":"#/components/schemas/__schema8"}},"required":["pass"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-passes-templates-updatePassTemplateContent","summary":"Updates the content of a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pass":{"$ref":"#/components/schemas/__schema3"},"schema":{"anyOf":[{"$ref":"#/components/schemas/__schema3"},{"type":"null"}]}},"required":["pass","schema"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}/print-content/get-or-create":{"post":{"operationId":"crm-passes-templates-getOrCreatePassTemplatePrintContent","summary":"Gets or creates a pass template print content","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema8"},"attachment":{"$ref":"#/components/schemas/__schema8"},"templateId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["paper","attachment","templateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}/sample":{"get":{"operationId":"crm-passes-templates-getPassTemplateSample","summary":"Gets the install url for the sample pass","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.read","tags":["crm / passes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"installUrl":{"type":"string","format":"uri"}},"required":["installUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}/publish":{"get":{"operationId":"crm-passes-templates-getPassTemplatePublishingCount","summary":"Gets the count of passes will be issued by a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.read","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-passes-templates-publishPassTemplate","summary":"Publishes a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/list":{"post":{"operationId":"crm-passes-templates-listPassTemplates","summary":"Gets a list of pass templates","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.read","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","description","target","expressaPrintTemplate","contactType","contactSegments","useRecognizableBarcode","publishedAt","statistics.pending","statistics.installed","statistics.uninstalled","statistics.printed","emailSubject","emailMessage","validFrom.literal","validFrom.variable","validFrom.source.variable","validFrom.lookup.variable","validFrom.array","validFrom.select","validFrom.func","validFrom.params","validTo.literal","validTo.variable","validTo.source.variable","validTo.lookup.variable","validTo.array","validTo.select","validTo.func","validTo.params","emailDaysBefore"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"manualIssue":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"templates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":100},"target":{"type":"string","enum":["wallet","print","walletAndPrint"]},"expressaPrintTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"useRecognizableBarcode":{"type":"boolean"},"publishedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"statistics":{"type":"object","properties":{"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"installed":{"type":"integer","minimum":0,"maximum":9007199254740991},"uninstalled":{"type":"integer","minimum":0,"maximum":9007199254740991},"printed":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["pending","installed","uninstalled","printed"],"additionalProperties":false},"emailSubject":{"type":"string","maxLength":100},"emailMessage":{"type":"string","maxLength":1600},"validFrom":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]},"validTo":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]},"emailDaysBefore":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]}},"required":["_id","name","description","target","expressaPrintTemplate","contactType","contactSegments","useRecognizableBarcode","publishedAt","statistics","emailSubject","emailMessage","validFrom","validTo","emailDaysBefore"],"additionalProperties":false}}},"required":["count","templates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates":{"post":{"operationId":"crm-passes-templates-createPassTemplate","summary":"Create pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.insert","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":100},"target":{"type":"string","enum":["wallet","print","walletAndPrint"]},"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactSegments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"useRecognizableBarcode":{"type":"boolean"},"validFrom":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]},"validTo":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]},"emailSubject":{"type":"string","maxLength":100},"emailMessage":{"type":"string","maxLength":1600},"emailDaysBefore":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]},"pass":{"$ref":"#/components/schemas/__schema3"},"schema":{"anyOf":[{"$ref":"#/components/schemas/__schema3"},{"type":"null"}]}},"required":["name","description","target","contactType","contactSegments","useRecognizableBarcode","validFrom","validTo","emailSubject","emailMessage","emailDaysBefore","pass","schema"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/passes/templates/{templateId}/print-content":{"post":{"operationId":"crm-passes-templates-updatePassTemplatePrintContent","summary":"Updates the print content of a pass template","description":"\n### Required permissions:\n* #### mandate.read\n* #### contactPassTemplate.edit","tags":["crm / passes / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema3"},"attachment":{"$ref":"#/components/schemas/__schema3"},"markPassesAsPending":{"type":"boolean"}},"required":["paper","attachment","markPassesAsPending"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs/{proofId}":{"get":{"operationId":"crm-proofs-getProof","summary":"Gets a proof","description":"\n### Required permissions:\n* #### mandate.read\n* #### proof.read","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"proofId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]},"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"requestDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"confirmation":{"anyOf":[{"type":"object","properties":{"issuedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuingAuthority":{"type":"string"},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"documents":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}}},"required":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"],"additionalProperties":false},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"overdueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoCreatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","mandates","status","type","typeName","contact","requestDispatchStatus","confirmationDispatchStatus","confirmation","validTo","dueAt","overdueAt","autoCreatedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-proofs-deleteProof","summary":"Delete proof","description":"Deletes a proof for a contact <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### proof.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"proofId","schema":{"type":"string"},"required":true},{"in":"query","name":"contactId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs/list":{"get":{"operationId":"crm-proofs-listProofs","summary":"List all proofs","description":"\n### Required permissions:\n* #### mandate.read\n* #### proof.read","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"sort","schema":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","status","type","typeName","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","requestDispatchStatus.openedAt","requestDispatchStatus.clickedAt","requestDispatchStatus.unsubscribedAt","requestDispatchStatus.sentAt","requestDispatchStatus.dispatchedBy.name","requestDispatchStatus.dispatchedBy.type","requestDispatchStatus.dispatchedBy.userId","requestDispatchStatus.dispatchedBy.image.resource","requestDispatchStatus.dispatchedBy.image.fileName","requestDispatchStatus.dispatchedBy.image.contentType","requestDispatchStatus.dispatchedBy.image.fileSizeBytes","requestDispatchStatus.dispatchedBy.key","requestDispatchStatus.sendStatus","requestDispatchStatus.sendError","requestDispatchStatus.sendPrice","confirmationDispatchStatus.openedAt","confirmationDispatchStatus.clickedAt","confirmationDispatchStatus.unsubscribedAt","confirmationDispatchStatus.sentAt","confirmationDispatchStatus.dispatchedBy.name","confirmationDispatchStatus.dispatchedBy.type","confirmationDispatchStatus.dispatchedBy.userId","confirmationDispatchStatus.dispatchedBy.image.resource","confirmationDispatchStatus.dispatchedBy.image.fileName","confirmationDispatchStatus.dispatchedBy.image.contentType","confirmationDispatchStatus.dispatchedBy.image.fileSizeBytes","confirmationDispatchStatus.dispatchedBy.key","confirmationDispatchStatus.sendStatus","confirmationDispatchStatus.sendError","confirmationDispatchStatus.sendPrice","confirmation.issuedAt","confirmation.issuingAuthority","confirmation.reviewedAt","confirmation.reviewedBy","confirmation.notes","confirmation.documents","validTo","dueAt","overdueAt","autoCreatedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},{"in":"query","name":"limit","schema":{"default":50,"type":"integer","minimum":0,"maximum":100}},{"in":"query","name":"offset","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"returnCount","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"searchTerm","schema":{"type":"string"}},{"in":"query","name":"typeId","schema":{"type":"string"}},{"in":"query","name":"contactId","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]}},{"in":"query","name":"userFilter","schema":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"proofs":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]},"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"requestDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"confirmation":{"anyOf":[{"type":"object","properties":{"issuedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuingAuthority":{"type":"string"},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"documents":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}}},"required":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"],"additionalProperties":false},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"overdueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoCreatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","mandates","status","type","typeName","contact","requestDispatchStatus","confirmationDispatchStatus","confirmation","validTo","dueAt","overdueAt","autoCreatedAt"],"additionalProperties":false}}},"required":["count","proofs"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs/export":{"post":{"operationId":"crm-proofs-exportProofs","summary":"Exports proofs for an organization","description":"\n### Required permissions:\n* #### mandate.read\n* #### proof.read","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"typeId":{"type":"string"},"contactId":{"type":"string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","status","type","typeName","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","requestDispatchStatus.openedAt","requestDispatchStatus.clickedAt","requestDispatchStatus.unsubscribedAt","requestDispatchStatus.sentAt","requestDispatchStatus.dispatchedBy.name","requestDispatchStatus.dispatchedBy.type","requestDispatchStatus.dispatchedBy.userId","requestDispatchStatus.dispatchedBy.image.resource","requestDispatchStatus.dispatchedBy.image.fileName","requestDispatchStatus.dispatchedBy.image.contentType","requestDispatchStatus.dispatchedBy.image.fileSizeBytes","requestDispatchStatus.dispatchedBy.key","requestDispatchStatus.sendStatus","requestDispatchStatus.sendError","requestDispatchStatus.sendPrice","confirmationDispatchStatus.openedAt","confirmationDispatchStatus.clickedAt","confirmationDispatchStatus.unsubscribedAt","confirmationDispatchStatus.sentAt","confirmationDispatchStatus.dispatchedBy.name","confirmationDispatchStatus.dispatchedBy.type","confirmationDispatchStatus.dispatchedBy.userId","confirmationDispatchStatus.dispatchedBy.image.resource","confirmationDispatchStatus.dispatchedBy.image.fileName","confirmationDispatchStatus.dispatchedBy.image.contentType","confirmationDispatchStatus.dispatchedBy.image.fileSizeBytes","confirmationDispatchStatus.dispatchedBy.key","confirmationDispatchStatus.sendStatus","confirmationDispatchStatus.sendError","confirmationDispatchStatus.sendPrice","confirmation.issuedAt","confirmation.issuingAuthority","confirmation.reviewedAt","confirmation.reviewedBy","confirmation.notes","confirmation.documents","validTo","dueAt","overdueAt","autoCreatedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs":{"post":{"operationId":"crm-proofs-createProof","summary":"Creates a proof for a contact","description":"Create proof <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### proof.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactId":{"type":"string"},"sendRequestMail":{"default":true,"type":"boolean"}},"required":["type","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs/{proofId}/confirm":{"post":{"operationId":"crm-proofs-confirmProof","summary":"Confirms a proof for a contact","description":"Confirm proof <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### proof.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"proofId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"issuedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuingAuthority":{"type":"string"},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"documents":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"sendConfirmationMail":{"default":true,"type":"boolean"}},"required":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","validTo"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/proofs/request":{"post":{"operationId":"crm-proofs-requestProofs","summary":"Request proofs from contacts and mark the proof as requested","description":"Request proofs <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### proof.edit","tags":["crm / proofs"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"typeId":{"type":"string"},"contactId":{"type":"string"},"status":{"type":"string","enum":["requested","confirmed","required","due","overdue","expired"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"proofId":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sendRequestMail":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/proofs/types":{"post":{"operationId":"crm-proofs-types-createType","summary":"Create proof type","description":"\n### Required permissions:\n* #### proofType.insert","tags":["crm / proofs / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"validity":{"type":"object","properties":{"mode":{"type":"string","enum":["oneTime","byDate","byInterval"]},"interval":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"dueBeforeDays":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"overdueBeforeDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode","interval","dueBeforeDays","overdueBeforeDays"]},"requestMail":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"requiredFields":{"type":"array","items":{"type":"string","enum":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"]}},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}},"required":["name","validity","requestMail","confirmationMail","requiredFields","contactSegments"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/proofs/types/{typeId}":{"get":{"operationId":"crm-proofs-types-getType","summary":"Gets a specific proof type with all of its details","description":"","tags":["crm / proofs / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"validity":{"type":"object","properties":{"mode":{"type":"string","enum":["oneTime","byDate","byInterval"]},"interval":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"dueBeforeDays":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"overdueBeforeDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode","interval","dueBeforeDays","overdueBeforeDays"],"additionalProperties":false},"requestMail":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"requiredFields":{"type":"array","items":{"type":"string","enum":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"]}},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"required":{"type":"integer","minimum":0,"maximum":9007199254740991},"requested":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"due":{"type":"integer","minimum":0,"maximum":9007199254740991},"overdue":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","name","validity","requestMail","confirmationMail","requiredFields","contactSegments","total","required","requested","confirmed","due","overdue","expired"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-proofs-types-updateType","summary":"Updates a proof type","description":"\n### Required permissions:\n* #### proofType.edit","tags":["crm / proofs / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"validity":{"type":"object","properties":{"mode":{"type":"string","enum":["oneTime","byDate","byInterval"]},"interval":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"dueBeforeDays":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"overdueBeforeDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode","interval","dueBeforeDays","overdueBeforeDays"]},"requestMail":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"requiredFields":{"type":"array","items":{"type":"string","enum":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"]}},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}},"required":["name","validity","requestMail","confirmationMail","requiredFields","contactSegments"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-proofs-types-deleteType","summary":"Deletes a proof type","description":"\n### Required permissions:\n* #### proofType.remove","tags":["crm / proofs / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/proofs/types/list":{"post":{"operationId":"crm-proofs-types-listTypes","summary":"Gets a list of proof types","description":"","tags":["crm / proofs / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","validity.mode","validity.interval.value","validity.interval.unit","validity.dueBeforeDays","validity.overdueBeforeDays","requestMail.subject","requestMail.message","confirmationMail.subject","confirmationMail.message","requiredFields","contactSegments","total","required","requested","confirmed","due","overdue","expired"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"types":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"validity":{"type":"object","properties":{"mode":{"type":"string","enum":["oneTime","byDate","byInterval"]},"interval":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"dueBeforeDays":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"overdueBeforeDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode","interval","dueBeforeDays","overdueBeforeDays"],"additionalProperties":false},"requestMail":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"requiredFields":{"type":"array","items":{"type":"string","enum":["issuedAt","issuingAuthority","reviewedAt","reviewedBy","notes","documents"]}},"contactSegments":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"required":{"type":"integer","minimum":0,"maximum":9007199254740991},"requested":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"due":{"type":"integer","minimum":0,"maximum":9007199254740991},"overdue":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","name","validity","requestMail","confirmationMail","requiredFields","contactSegments","total","required","requested","confirmed","due","overdue","expired"],"additionalProperties":false}}},"required":["count","types"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates":{"post":{"operationId":"crm-certificates-createCertificate","summary":"Create certificate","description":"Creates a certificate for a contact <br /><br /> \n### Required permissions:\n* #### certificate.insert\n### Permissions if type is provided:\n* #### certificateType.read\n","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuedAt":{"type":"string"},"issuedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"typeId":{"type":"string"},"contactId":{"type":"string"},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"documents":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},"sendConfirmation":{"default":false,"type":"boolean"},"attachConfirmationDocument":{"default":true,"type":"boolean"}},"required":["validTo","issuedAt","issuedBy","notes","typeId","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates/{certificateId}":{"get":{"operationId":"crm-certificates-getCertificate","summary":"Get certificate","description":"Gets a certificate with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### certificate.read","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"certificateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"status":{"type":"string","enum":["valid","willExpire","expired"]},"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"documents":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"willExpireAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuedAt":{"type":"string"},"issuedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["_id","mandates","status","type","typeName","contact","confirmationDispatchStatus","documents","validTo","willExpireAt","issuedAt","issuedBy","notes","customFields"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-certificates-deleteCertificate","summary":"Delete certificate","description":"Deletes a certificate <br /><br /> \n### Required permissions:\n* #### certificate.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"certificateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates/list":{"get":{"operationId":"crm-certificates-listCertificates","summary":"List certificates","description":"Gets a list of certificates <br /><br /> \n### Required permissions:\n* #### certificate.read","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"sort","schema":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","status","type","typeName","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","confirmationDispatchStatus.openedAt","confirmationDispatchStatus.clickedAt","confirmationDispatchStatus.unsubscribedAt","confirmationDispatchStatus.sentAt","confirmationDispatchStatus.dispatchedBy.name","confirmationDispatchStatus.dispatchedBy.type","confirmationDispatchStatus.dispatchedBy.userId","confirmationDispatchStatus.dispatchedBy.image.resource","confirmationDispatchStatus.dispatchedBy.image.fileName","confirmationDispatchStatus.dispatchedBy.image.contentType","confirmationDispatchStatus.dispatchedBy.image.fileSizeBytes","confirmationDispatchStatus.dispatchedBy.key","confirmationDispatchStatus.sendStatus","confirmationDispatchStatus.sendError","confirmationDispatchStatus.sendPrice","documents","validTo","willExpireAt","issuedAt","issuedBy","notes"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},{"in":"query","name":"limit","schema":{"default":50,"type":"integer","minimum":0,"maximum":100}},{"in":"query","name":"offset","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"returnCount","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"searchTerm","schema":{"type":"string"}},{"in":"query","name":"typeId","schema":{"type":"string"}},{"in":"query","name":"contactId","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"string","enum":["valid","willExpire","expired"]}},{"in":"query","name":"userFilter","schema":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"certificates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"status":{"type":"string","enum":["valid","willExpire","expired"]},"type":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"documents":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"willExpireAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuedAt":{"type":"string"},"issuedBy":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":4000},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["_id","mandates","status","type","typeName","contact","confirmationDispatchStatus","documents","validTo","willExpireAt","issuedAt","issuedBy","notes","customFields"],"additionalProperties":false}}},"required":["count","certificates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates/export":{"post":{"operationId":"crm-certificates-exportCertificates","summary":"Export certificates","description":"Exports a list of certificates <br /><br /> \n### Required permissions:\n* #### certificate.read","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"typeId":{"type":"string"},"contactId":{"type":"string"},"status":{"type":"string","enum":["valid","willExpire","expired"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","status","type","typeName","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","confirmationDispatchStatus.openedAt","confirmationDispatchStatus.clickedAt","confirmationDispatchStatus.unsubscribedAt","confirmationDispatchStatus.sentAt","confirmationDispatchStatus.dispatchedBy.name","confirmationDispatchStatus.dispatchedBy.type","confirmationDispatchStatus.dispatchedBy.userId","confirmationDispatchStatus.dispatchedBy.image.resource","confirmationDispatchStatus.dispatchedBy.image.fileName","confirmationDispatchStatus.dispatchedBy.image.contentType","confirmationDispatchStatus.dispatchedBy.image.fileSizeBytes","confirmationDispatchStatus.dispatchedBy.key","confirmationDispatchStatus.sendStatus","confirmationDispatchStatus.sendError","confirmationDispatchStatus.sendPrice","documents","validTo","willExpireAt","issuedAt","issuedBy","notes"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates/{certificateId}/downloadConfirmation":{"get":{"operationId":"crm-certificates-downloadConfirmation","summary":"Download confirmation document","description":"Downloads the confirmation document for a certificate <br /><br /> \n### Required permissions:\n* #### certificate.read","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"certificateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"documentUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["documentUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/certificates/{certificateId}/updateConfirmationSendDetails":{"post":{"operationId":"crm-certificates-updateConfirmationSendDetails","summary":"Update certificate confirmation send details","description":"Updates the confirmation send details and resends confirmation for a certificate <br /><br /> \n### Required permissions:\n* #### certificate.edit","tags":["crm / certificates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"certificateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sendMethod":{"type":"string","enum":["email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["sendMethod"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"resent":{"type":"number"},"created":{"type":"number"}},"required":["resent","created"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types":{"post":{"operationId":"crm-certificates-types-createType","summary":"Create certificate type","description":"Creates a new certificate type <br /><br /> \n### Required permissions:\n* #### certificateType.insert","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"willExpireDaysBeforeExpiry":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"enableExpressaTemplate":{"type":"boolean"}},"required":["name","confirmationMail","willExpireDaysBeforeExpiry","customFields","expressaTemplate","contactType","enableExpressaTemplate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types/{typeId}":{"get":{"operationId":"crm-certificates-types-getType","summary":"Get certificate type","description":"Gets a specific certificate type with all of its details <br /><br /> \n### Required permissions:\n* #### certificateType.read","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"willExpireDaysBeforeExpiry":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"valid":{"type":"integer","minimum":0,"maximum":9007199254740991},"willExpire":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]}},"required":["_id","name","willExpireDaysBeforeExpiry","confirmationMail","customFields","total","valid","willExpire","expired","expressaTemplate","contactType"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-certificates-types-updateType","summary":"Update certificate type","description":"Updates a certificate type <br /><br /> \n### Required permissions:\n* #### certificateType.edit","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"]},{"type":"null"}]},"willExpireDaysBeforeExpiry":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"enableExpressaTemplate":{"type":"boolean"}},"required":["name","confirmationMail","willExpireDaysBeforeExpiry","expressaTemplate","contactType","enableExpressaTemplate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-certificates-types-deleteType","summary":"Delete certificate type","description":"Deletes a certificate type <br /><br /> \n### Required permissions:\n* #### certificateType.remove","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types/list":{"post":{"operationId":"crm-certificates-types-listTypes","summary":"List certificate types","description":"Gets a list of certificate types <br /><br /> \n### Required permissions:\n* #### certificateType.read","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","willExpireDaysBeforeExpiry","confirmationMail.subject","confirmationMail.message","customFields.groups","customFields.pages","customFields.submitCaption","customFields.appearance.accentColor","customFields.appearance.accentTextColor","customFields.appearance.box.border.width","customFields.appearance.box.border.color","customFields.appearance.box.border.radius","customFields.appearance.box.background.color","customFields.appearance.box.font.color","customFields.appearance.box.font.size","customFields.appearance.box.font.weight","customFields.appearance.box.shadows","customFields.appearance.box.padding.left","customFields.appearance.box.padding.right","customFields.appearance.box.padding.top","customFields.appearance.box.padding.bottom","customFields.appearance.box.margin.left","customFields.appearance.box.margin.right","customFields.appearance.box.margin.top","customFields.appearance.box.margin.bottom","customFields.appearance.groupBox.border.width","customFields.appearance.groupBox.border.color","customFields.appearance.groupBox.border.radius","customFields.appearance.groupBox.background.color","customFields.appearance.groupBox.font.color","customFields.appearance.groupBox.font.size","customFields.appearance.groupBox.font.weight","customFields.appearance.groupBox.shadows","customFields.appearance.groupBox.padding.left","customFields.appearance.groupBox.padding.right","customFields.appearance.groupBox.padding.top","customFields.appearance.groupBox.padding.bottom","customFields.appearance.groupBox.margin.left","customFields.appearance.groupBox.margin.right","customFields.appearance.groupBox.margin.top","customFields.appearance.groupBox.margin.bottom","customFields.appearance.inputBox.border.width","customFields.appearance.inputBox.border.color","customFields.appearance.inputBox.border.radius","customFields.appearance.inputBox.background.color","customFields.appearance.inputBox.font.color","customFields.appearance.inputBox.font.size","customFields.appearance.inputBox.font.weight","customFields.appearance.inputBox.shadows","customFields.appearance.inputBox.padding.left","customFields.appearance.inputBox.padding.right","customFields.appearance.inputBox.padding.top","customFields.appearance.inputBox.padding.bottom","customFields.appearance.inputBox.margin.left","customFields.appearance.inputBox.margin.right","customFields.appearance.inputBox.margin.top","customFields.appearance.inputBox.margin.bottom","customFields.appearance.inputBox.labelFont.color","customFields.appearance.inputBox.labelFont.size","customFields.appearance.inputBox.labelFont.weight","customFields.appearance.inputBox.height","customFields.validations","total","valid","willExpire","expired","expressaTemplate","contactType"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"contactTypes":{"type":"array","items":{"anyOf":[{"type":"null"},{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}]}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"types":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":40},"willExpireDaysBeforeExpiry":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmationMail":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","message"],"additionalProperties":false},{"type":"null"}]},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"valid":{"type":"integer","minimum":0,"maximum":9007199254740991},"willExpire":{"type":"integer","minimum":0,"maximum":9007199254740991},"expired":{"type":"integer","minimum":0,"maximum":9007199254740991},"expressaTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]}},"required":["_id","name","willExpireDaysBeforeExpiry","confirmationMail","customFields","total","valid","willExpire","expired","expressaTemplate","contactType"],"additionalProperties":false}}},"required":["count","types"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types/{typeId}/document":{"post":{"operationId":"crm-certificates-types-updateConfirmationDocumentContent","summary":"Update type confirmation document content","description":"Updates the contents of the confirmation document for a certificate type <br /><br /> \n### Required permissions:\n* #### certificateType.edit","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema3"},"attachment":{"$ref":"#/components/schemas/__schema3"}},"required":["paper","attachment"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types/{typeId}/document/restore":{"post":{"operationId":"crm-certificates-types-restoreConfirmationTemplate","summary":"Restore confirmation template content","description":"Restores the content of the confirmation document of the certificate type to its default values <br /><br /> \n### Required permissions:\n* #### certificateType.edit","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/certificates/types/{typeId}/document/getOrCreate":{"post":{"operationId":"crm-certificates-types-getOrCreateConfirmationDocumentTemplate","summary":"Get or create type confirmation document template","description":"Gets or creates a confirmation document template for a certificate type <br /><br /> \n### Required permissions:\n* #### certificateType.edit","tags":["crm / certificates / types"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"typeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema8"},"attachment":{"$ref":"#/components/schemas/__schema8"},"templateId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["paper","attachment","templateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans":{"post":{"operationId":"crm-plans-createPlan","summary":"Creates a new plan for the given mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.insert","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"tags":{"maxItems":64,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["startDay","startMonth","rrule","range"]},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"]},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"]},"collection":{"type":"object","properties":{"mode":{"type":"string","enum":["relative","absolute"]},"period":{"type":"string","enum":["start","end"]},"relative":{"type":"string","enum":["at","weekStart","weekEnd","monthStart","monthEnd","quarterStart","quarterEnd","halfYearStart","halfYearEnd","yearStart","yearEnd"]},"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"deviantMode":{"type":"string","enum":["before","after","beforeIntervalStart","afterIntervalStart","beforeIntervalEnd","afterIntervalEnd","immediate","next"]},"deviantTime":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"daysToDue":{"type":"integer","minimum":0,"maximum":9007199254740991},"absolute":{"anyOf":[{"type":"object","properties":{"anchor":{"type":"string","enum":["interval","period"]},"date":{"type":"integer","minimum":1,"maximum":31},"month":{"anyOf":[{"type":"integer","minimum":1,"maximum":12},{"type":"null"}]}},"required":["anchor","date","month"]},{"type":"null"}]}},"required":["mode","period","relative","shiftMode","shiftTime","deviantMode","deviantTime","daysToDue","absolute"]},"pauseRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"]}},"required":["id","name","adjustment"]}},"billing":{"type":"object","properties":{"deleteContractAfterEnd":{"type":"boolean"},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitPurpose":{"type":"string","maxLength":240},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptTexts":{"type":"object","properties":{"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"title":{"type":"string","minLength":1,"maxLength":100},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["intro","note","title","subject","message"]}},"required":["deleteContractAfterEnd","sepaDirectDebitCashAccount","sepaDirectDebitPurpose","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount","receiptTemplate","receiptTexts"]},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"requireActiveDepartment":{"type":"boolean"},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"},"proRataDivisor":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"contactNameMode":{"type":"string","enum":["disabled","always","merged"]},"description":{"type":"string","minLength":1,"maxLength":300},"relativeDate":{"type":"string","enum":["periodStart","periodEnd","periodCenter","collectAt"]},"adjustments":{"type":"object","properties":{"adjustments":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema0"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]}},"required":["type","id","name","description","min","max","tiers"]}],"type":"object"}},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["adjustments","min","max"]},"amount":{"type":"object","properties":{"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["operator","expression"]},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]},{"type":"null"}]},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["proRataMode","expression","tiers","price"]},"options":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},{"type":"null"}]},"amount":{"type":"object","properties":{"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["operator","expression"]},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]},{"type":"null"}]},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["proRataMode","expression","tiers","price"]}},"required":["id","name","description","preSelected","oneTime","filter","amount"]}}},"required":["isNet","proRataDivisor","contactNameMode","description","relativeDate","adjustments","amount","options"]}},"required":["type","contactType","name","tags","period","collection","pauseRules","billing","customFields","department","requireActiveDepartment","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans/list":{"post":{"operationId":"crm-plans-listPlans","summary":"Gets a list of plans for the mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","contactType","name","tags","type","period.interval","period.mode","period.count","period.custom.startDay","period.custom.startMonth","period.custom.rrule","period.custom.range.value","period.custom.range.unit","period.flexible.baseInterval","period.flexible.intervals","period.flexible.mode","collection.mode","collection.period","collection.relative","collection.shiftMode","collection.shiftTime.value","collection.shiftTime.unit","collection.deviantMode","collection.deviantTime.value","collection.deviantTime.unit","collection.daysToDue","collection.absolute.anchor","collection.absolute.date","collection.absolute.month","charge.isNet","charge.proRataDivisor","charge.amount.price.isNet","charge.amount.price.price","charge.amount.price.priceNet","charge.amount.price.priceGross","charge.amount.price.taxCode","charge.amount.price.account","charge.amount.price.costCenter1","charge.amount.price.costCenter2","charge.amount.proRataMode","charge.amount.expression.operator","charge.amount.expression.expression.literal","charge.amount.expression.expression.variable","charge.amount.expression.expression.source.variable","charge.amount.expression.expression.lookup.variable","charge.amount.expression.expression.array","charge.amount.expression.expression.select","charge.amount.expression.expression.func","charge.amount.expression.expression.params","charge.amount.tiers.expression.literal","charge.amount.tiers.expression.variable","charge.amount.tiers.expression.source.variable","charge.amount.tiers.expression.lookup.variable","charge.amount.tiers.expression.array","charge.amount.tiers.expression.select","charge.amount.tiers.expression.func","charge.amount.tiers.expression.params","charge.amount.tiers.tiers","charge.contactNameMode","charge.description","charge.relativeDate","charge.options","charge.adjustments.adjustments","charge.adjustments.min","charge.adjustments.max","pauseRules","billing.deleteContractAfterEnd","billing.sepaDirectDebitCashAccount","billing.sepaDirectDebitPurpose","billing.sepaDirectDebitSendReceipts","billing.sepaCreditTransferCashAccount","billing.receiptTemplate","billing.receiptTexts.intro","billing.receiptTexts.note","billing.receiptTexts.title","billing.receiptTexts.subject","billing.receiptTexts.message","customFields.groups","customFields.pages","customFields.submitCaption","customFields.appearance.accentColor","customFields.appearance.accentTextColor","customFields.appearance.box.border.width","customFields.appearance.box.border.color","customFields.appearance.box.border.radius","customFields.appearance.box.background.color","customFields.appearance.box.font.color","customFields.appearance.box.font.size","customFields.appearance.box.font.weight","customFields.appearance.box.shadows","customFields.appearance.box.padding.left","customFields.appearance.box.padding.right","customFields.appearance.box.padding.top","customFields.appearance.box.padding.bottom","customFields.appearance.box.margin.left","customFields.appearance.box.margin.right","customFields.appearance.box.margin.top","customFields.appearance.box.margin.bottom","customFields.appearance.groupBox.border.width","customFields.appearance.groupBox.border.color","customFields.appearance.groupBox.border.radius","customFields.appearance.groupBox.background.color","customFields.appearance.groupBox.font.color","customFields.appearance.groupBox.font.size","customFields.appearance.groupBox.font.weight","customFields.appearance.groupBox.shadows","customFields.appearance.groupBox.padding.left","customFields.appearance.groupBox.padding.right","customFields.appearance.groupBox.padding.top","customFields.appearance.groupBox.padding.bottom","customFields.appearance.groupBox.margin.left","customFields.appearance.groupBox.margin.right","customFields.appearance.groupBox.margin.top","customFields.appearance.groupBox.margin.bottom","customFields.appearance.inputBox.border.width","customFields.appearance.inputBox.border.color","customFields.appearance.inputBox.border.radius","customFields.appearance.inputBox.background.color","customFields.appearance.inputBox.font.color","customFields.appearance.inputBox.font.size","customFields.appearance.inputBox.font.weight","customFields.appearance.inputBox.shadows","customFields.appearance.inputBox.padding.left","customFields.appearance.inputBox.padding.right","customFields.appearance.inputBox.padding.top","customFields.appearance.inputBox.padding.bottom","customFields.appearance.inputBox.margin.left","customFields.appearance.inputBox.margin.right","customFields.appearance.inputBox.margin.top","customFields.appearance.inputBox.margin.bottom","customFields.appearance.inputBox.labelFont.color","customFields.appearance.inputBox.labelFont.size","customFields.appearance.inputBox.labelFont.weight","customFields.appearance.inputBox.height","customFields.validations","department","requireActiveDepartment"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"types":{"type":"array","items":{"type":"string","enum":["membershipFee","contract","donation"]}},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"plans":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"tags":{"type":"string array"},"type":{"type":"string","enum":["membershipFee","contract","donation"]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"collection":{"type":"object","properties":{"mode":{"type":"string","enum":["relative","absolute"]},"period":{"type":"string","enum":["start","end"]},"relative":{"type":"string","enum":["at","weekStart","weekEnd","monthStart","monthEnd","quarterStart","quarterEnd","halfYearStart","halfYearEnd","yearStart","yearEnd"]},"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"deviantMode":{"type":"string","enum":["before","after","beforeIntervalStart","afterIntervalStart","beforeIntervalEnd","afterIntervalEnd","immediate","next"]},"deviantTime":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"daysToDue":{"type":"integer","minimum":0,"maximum":9007199254740991},"absolute":{"anyOf":[{"type":"object","properties":{"anchor":{"type":"string","enum":["interval","period"]},"date":{"type":"integer","minimum":1,"maximum":31},"month":{"anyOf":[{"type":"integer","minimum":1,"maximum":12},{"type":"null"}]}},"required":["anchor","date","month"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","period","relative","shiftMode","shiftTime","deviantMode","deviantTime","daysToDue","absolute"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"},"proRataDivisor":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"contactNameMode":{"type":"string","enum":["disabled","always","merged"]},"description":{"type":"string","minLength":1,"maxLength":300},"relativeDate":{"type":"string","enum":["periodStart","periodEnd","periodCenter","collectAt"]},"options":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false}},"adjustments":{"type":"object","properties":{"adjustments":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"}},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["adjustments","min","max"],"additionalProperties":false}},"required":["isNet","proRataDivisor","amount","contactNameMode","description","relativeDate","options","adjustments"],"additionalProperties":false},"pauseRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false}},"billing":{"type":"object","properties":{"deleteContractAfterEnd":{"type":"boolean"},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitPurpose":{"type":"string","maxLength":240},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptTexts":{"type":"object","properties":{"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"title":{"type":"string","minLength":1,"maxLength":100},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["intro","note","title","subject","message"],"additionalProperties":false}},"required":["deleteContractAfterEnd","sepaDirectDebitCashAccount","sepaDirectDebitPurpose","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount","receiptTemplate","receiptTexts"],"additionalProperties":false},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"requireActiveDepartment":{"type":"boolean"}},"required":["_id","mandate","contactType","name","tags","type","period","collection","charge","pauseRules","billing","customFields","department","requireActiveDepartment"],"additionalProperties":false}}},"required":["count","plans"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans/{planId}":{"get":{"operationId":"crm-plans-getPlan","summary":"Gets a specific plan with all of its details","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"planId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"tags":{"type":"string array"},"type":{"type":"string","enum":["membershipFee","contract","donation"]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"collection":{"type":"object","properties":{"mode":{"type":"string","enum":["relative","absolute"]},"period":{"type":"string","enum":["start","end"]},"relative":{"type":"string","enum":["at","weekStart","weekEnd","monthStart","monthEnd","quarterStart","quarterEnd","halfYearStart","halfYearEnd","yearStart","yearEnd"]},"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"deviantMode":{"type":"string","enum":["before","after","beforeIntervalStart","afterIntervalStart","beforeIntervalEnd","afterIntervalEnd","immediate","next"]},"deviantTime":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"daysToDue":{"type":"integer","minimum":0,"maximum":9007199254740991},"absolute":{"anyOf":[{"type":"object","properties":{"anchor":{"type":"string","enum":["interval","period"]},"date":{"type":"integer","minimum":1,"maximum":31},"month":{"anyOf":[{"type":"integer","minimum":1,"maximum":12},{"type":"null"}]}},"required":["anchor","date","month"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","period","relative","shiftMode","shiftTime","deviantMode","deviantTime","daysToDue","absolute"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"},"proRataDivisor":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"contactNameMode":{"type":"string","enum":["disabled","always","merged"]},"description":{"type":"string","minLength":1,"maxLength":300},"relativeDate":{"type":"string","enum":["periodStart","periodEnd","periodCenter","collectAt"]},"options":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false}},"adjustments":{"type":"object","properties":{"adjustments":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"}},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["adjustments","min","max"],"additionalProperties":false}},"required":["isNet","proRataDivisor","amount","contactNameMode","description","relativeDate","options","adjustments"],"additionalProperties":false},"pauseRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false}},"billing":{"type":"object","properties":{"deleteContractAfterEnd":{"type":"boolean"},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitPurpose":{"type":"string","maxLength":240},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptTexts":{"type":"object","properties":{"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"title":{"type":"string","minLength":1,"maxLength":100},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["intro","note","title","subject","message"],"additionalProperties":false}},"required":["deleteContractAfterEnd","sepaDirectDebitCashAccount","sepaDirectDebitPurpose","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount","receiptTemplate","receiptTexts"],"additionalProperties":false},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},{"type":"null"}]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"requireActiveDepartment":{"type":"boolean"}},"required":["_id","mandate","contactType","name","tags","type","period","collection","charge","pauseRules","billing","customFields","department","requireActiveDepartment"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-plans-updatePlan","summary":"Updates a plan on the given mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.edit","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"planId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"tags":{"maxItems":64,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["startDay","startMonth","rrule","range"]},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"]},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"]},"collection":{"type":"object","properties":{"mode":{"type":"string","enum":["relative","absolute"]},"period":{"type":"string","enum":["start","end"]},"relative":{"type":"string","enum":["at","weekStart","weekEnd","monthStart","monthEnd","quarterStart","quarterEnd","halfYearStart","halfYearEnd","yearStart","yearEnd"]},"shiftMode":{"type":"string","enum":["before","after"]},"shiftTime":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"deviantMode":{"type":"string","enum":["before","after","beforeIntervalStart","afterIntervalStart","beforeIntervalEnd","afterIntervalEnd","immediate","next"]},"deviantTime":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"daysToDue":{"type":"integer","minimum":0,"maximum":9007199254740991},"absolute":{"anyOf":[{"type":"object","properties":{"anchor":{"type":"string","enum":["interval","period"]},"date":{"type":"integer","minimum":1,"maximum":31},"month":{"anyOf":[{"type":"integer","minimum":1,"maximum":12},{"type":"null"}]}},"required":["anchor","date","month"]},{"type":"null"}]}},"required":["mode","period","relative","shiftMode","shiftTime","deviantMode","deviantTime","daysToDue","absolute"]},"pauseRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"]}},"required":["id","name","adjustment"]}},"billing":{"type":"object","properties":{"deleteContractAfterEnd":{"type":"boolean"},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitPurpose":{"type":"string","maxLength":240},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptTexts":{"type":"object","properties":{"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"title":{"type":"string","minLength":1,"maxLength":100},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["intro","note","title","subject","message"]}},"required":["deleteContractAfterEnd","sepaDirectDebitCashAccount","sepaDirectDebitPurpose","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount","receiptTemplate","receiptTexts"]},"customFields":{"anyOf":[{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},{"type":"null"}]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"requireActiveDepartment":{"type":"boolean"},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"},"proRataDivisor":{"anyOf":[{"type":"integer","minimum":2,"maximum":9007199254740991},{"type":"null"}]},"contactNameMode":{"type":"string","enum":["disabled","always","merged"]},"description":{"type":"string","minLength":1,"maxLength":300},"relativeDate":{"type":"string","enum":["periodStart","periodEnd","periodCenter","collectAt"]},"adjustments":{"type":"object","properties":{"adjustments":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema0"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]}},"required":["type","id","name","description","min","max","tiers"]}],"type":"object"}},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["adjustments","min","max"]},"amount":{"type":"object","properties":{"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["operator","expression"]},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]},{"type":"null"}]},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["proRataMode","expression","tiers","price"]},"options":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},{"type":"null"}]},"amount":{"type":"object","properties":{"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["operator","expression"]},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"]}}},"required":["expression","tiers"]},{"type":"null"}]},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["proRataMode","expression","tiers","price"]}},"required":["id","name","description","preSelected","oneTime","filter","amount"]}}},"required":["isNet","proRataDivisor","contactNameMode","description","relativeDate","adjustments","amount","options"]},"updateContracts":{"type":"boolean"}},"required":["type","contactType","name","tags","period","collection","pauseRules","billing","customFields","department","requireActiveDepartment","charge","updateContracts"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-plans-deletePlan","summary":"Deletes a plan on the given mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.remove","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"planId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDelete","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans/export":{"post":{"operationId":"crm-plans-exportPlans","summary":"Exports plans for an organization","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"types":{"type":"array","items":{"type":"string","enum":["membershipFee","contract","donation"]}},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","contactType","name","tags","type","period.interval","period.mode","period.count","period.custom.startDay","period.custom.startMonth","period.custom.rrule","period.custom.range.value","period.custom.range.unit","period.flexible.baseInterval","period.flexible.intervals","period.flexible.mode","collection.mode","collection.period","collection.relative","collection.shiftMode","collection.shiftTime.value","collection.shiftTime.unit","collection.deviantMode","collection.deviantTime.value","collection.deviantTime.unit","collection.daysToDue","collection.absolute.anchor","collection.absolute.date","collection.absolute.month","charge.isNet","charge.proRataDivisor","charge.amount.price.isNet","charge.amount.price.price","charge.amount.price.priceNet","charge.amount.price.priceGross","charge.amount.price.taxCode","charge.amount.price.account","charge.amount.price.costCenter1","charge.amount.price.costCenter2","charge.amount.proRataMode","charge.amount.expression.operator","charge.amount.expression.expression.literal","charge.amount.expression.expression.variable","charge.amount.expression.expression.source.variable","charge.amount.expression.expression.lookup.variable","charge.amount.expression.expression.array","charge.amount.expression.expression.select","charge.amount.expression.expression.func","charge.amount.expression.expression.params","charge.amount.tiers.expression.literal","charge.amount.tiers.expression.variable","charge.amount.tiers.expression.source.variable","charge.amount.tiers.expression.lookup.variable","charge.amount.tiers.expression.array","charge.amount.tiers.expression.select","charge.amount.tiers.expression.func","charge.amount.tiers.expression.params","charge.amount.tiers.tiers","charge.contactNameMode","charge.description","charge.relativeDate","charge.options","charge.adjustments.adjustments","charge.adjustments.min","charge.adjustments.max","pauseRules","billing.deleteContractAfterEnd","billing.sepaDirectDebitCashAccount","billing.sepaDirectDebitPurpose","billing.sepaDirectDebitSendReceipts","billing.sepaCreditTransferCashAccount","billing.receiptTemplate","billing.receiptTexts.intro","billing.receiptTexts.note","billing.receiptTexts.title","billing.receiptTexts.subject","billing.receiptTexts.message","customFields.groups","customFields.pages","customFields.submitCaption","customFields.appearance.accentColor","customFields.appearance.accentTextColor","customFields.appearance.box.border.width","customFields.appearance.box.border.color","customFields.appearance.box.border.radius","customFields.appearance.box.background.color","customFields.appearance.box.font.color","customFields.appearance.box.font.size","customFields.appearance.box.font.weight","customFields.appearance.box.shadows","customFields.appearance.box.padding.left","customFields.appearance.box.padding.right","customFields.appearance.box.padding.top","customFields.appearance.box.padding.bottom","customFields.appearance.box.margin.left","customFields.appearance.box.margin.right","customFields.appearance.box.margin.top","customFields.appearance.box.margin.bottom","customFields.appearance.groupBox.border.width","customFields.appearance.groupBox.border.color","customFields.appearance.groupBox.border.radius","customFields.appearance.groupBox.background.color","customFields.appearance.groupBox.font.color","customFields.appearance.groupBox.font.size","customFields.appearance.groupBox.font.weight","customFields.appearance.groupBox.shadows","customFields.appearance.groupBox.padding.left","customFields.appearance.groupBox.padding.right","customFields.appearance.groupBox.padding.top","customFields.appearance.groupBox.padding.bottom","customFields.appearance.groupBox.margin.left","customFields.appearance.groupBox.margin.right","customFields.appearance.groupBox.margin.top","customFields.appearance.groupBox.margin.bottom","customFields.appearance.inputBox.border.width","customFields.appearance.inputBox.border.color","customFields.appearance.inputBox.border.radius","customFields.appearance.inputBox.background.color","customFields.appearance.inputBox.font.color","customFields.appearance.inputBox.font.size","customFields.appearance.inputBox.font.weight","customFields.appearance.inputBox.shadows","customFields.appearance.inputBox.padding.left","customFields.appearance.inputBox.padding.right","customFields.appearance.inputBox.padding.top","customFields.appearance.inputBox.padding.bottom","customFields.appearance.inputBox.margin.left","customFields.appearance.inputBox.margin.right","customFields.appearance.inputBox.margin.top","customFields.appearance.inputBox.margin.bottom","customFields.appearance.inputBox.labelFont.color","customFields.appearance.inputBox.labelFont.size","customFields.appearance.inputBox.labelFont.weight","customFields.appearance.inputBox.height","customFields.validations","department","requireActiveDepartment"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans/tags/list":{"post":{"operationId":"crm-plans-listTags","summary":"List all plan tags for the given organization","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/plans/tags/remove":{"post":{"operationId":"crm-plans-removeTag","summary":"Remove tag","description":"Removes a plan tag case-insensitively from plans and contracts and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### plan.remove","tags":["crm / plans"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts":{"post":{"operationId":"crm-contracts-createContract","summary":"Create a contract for a plan and a contact","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read\n* #### contract.insert\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","minLength":1}},"startAt":{"type":"string"},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"]},{"type":"null"}]},"contactId":{"type":"string"},"planId":{"type":"string"},"voucher":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"startAt":{"type":"string"}},"required":["name","interval","amount","amountPercentage","endAt","startAt"]},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"flexibleInterval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"fixedAmount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["options","startAt","pause","contactId","planId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/{contractId}":{"post":{"operationId":"crm-contracts-updateContract","summary":"Update a contract","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read\n* #### contract.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","minLength":1}},"startAt":{"type":"string"},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"]},{"type":"null"}]},"contactId":{"type":"string"},"planId":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"flexibleInterval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"fixedAmount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"voucher":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"startAt":{"type":"string"}},"required":["name","interval","amount","amountPercentage","endAt","startAt"]},{"type":"null"}]}},"required":["options","startAt","pause","contactId","planId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"get":{"operationId":"crm-contracts-getContract","summary":"Gets a specific contract with all of its details","description":"\n### Required permissions:\n* #### mandate.read\n* #### contract.read\n* #### plan.read","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"debtor":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]}},"required":["account","name","nameNormalized","nameSort","paymentMethodType"],"additionalProperties":false},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"tags":{"type":"string array"},"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]}},"required":["plan","name","tags","interval"],"additionalProperties":false},"options":{"type":"array","items":{"type":"string","minLength":1}},"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"flexibleInterval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"fixedAmount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"lastCollection":{"anyOf":[{"type":"object","properties":{"collectAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"periodStart":{"type":"string"},"periodEnd":{"type":"string"},"flexiblePeriodStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"flexiblePeriodEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"counter":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string"},"amounts":{"type":"array","items":{"type":"object","properties":{"price":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","costCenter1","costCenter2","isNet","taxCode"],"additionalProperties":false},"appliedPause":{"anyOf":[{"type":"object","properties":{"rule":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["rule","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"baseAmount":{"type":"number"},"baseAmountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"proRatedBaseAmount":{"type":"number"},"adjustedAmount":{"type":"number"},"proRatedAdjustedAmountBeforePause":{"type":"number"},"proRatedAdjustedAmount":{"type":"number"},"optionsAmount":{"type":"number"},"proRatedOptionsAmountBeforePause":{"type":"number"},"proRatedOptionsAmount":{"type":"number"},"totalAmount":{"type":"number"},"multiplyFactor":{"type":"number"},"isDeviantStart":{"type":"boolean"},"isDeviantEnd":{"type":"boolean"},"isProRataStart":{"type":"boolean"},"isProRataEnd":{"type":"boolean"},"deviantStartDays":{"type":"number"},"deviantEndDays":{"type":"number"},"adjustments":{"type":"array","items":{"type":"object","properties":{"adjustment":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["adjustment","description"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"object","properties":{"option":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false},"amount":{"type":"number"},"proRatedAmount":{"type":"number"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["option","amount","proRatedAmount","description"],"additionalProperties":false}},"description":{"type":"string"},"voucherAmount":{"type":"number"},"vouchers":{"type":"array","items":{"type":"object","properties":{"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"code":{"type":"string"},"usagePeriod":{"type":"string"},"usageDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["voucher","name","code","usagePeriod","usageDate","amount"],"additionalProperties":false}}},"required":["price","appliedPause","baseAmount","proRatedBaseAmount","adjustedAmount","proRatedAdjustedAmountBeforePause","proRatedAdjustedAmount","optionsAmount","proRatedOptionsAmountBeforePause","proRatedOptionsAmount","totalAmount","multiplyFactor","isDeviantStart","isDeviantEnd","isProRataStart","isProRataEnd","deviantStartDays","deviantEndDays","adjustments","options","description","voucherAmount","vouchers"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaDirectDebitPurpose":{"type":"string"},"receiptTexts":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"voucherAmount":{"type":"integer","minimum":0,"maximum":9999999999},"plan":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"}},"required":["isNet"],"additionalProperties":false},"billing":{"type":"object","properties":{"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["receiptTemplate","sepaDirectDebitCashAccount","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount"],"additionalProperties":false}},"required":["type","department","period","charge","billing"],"additionalProperties":false},"contractCollectionId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["collectAt","periodStart","periodEnd","flexiblePeriodStart","flexiblePeriodEnd","counter","amount","description","amounts","dueAt","sepaDirectDebitPurpose","receiptTexts","voucherAmount","plan","contractCollectionId"],"additionalProperties":false},{"type":"null"}]},"nextCollection":{"anyOf":[{"type":"object","properties":{"collectAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"periodStart":{"type":"string"},"periodEnd":{"type":"string"},"flexiblePeriodStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"flexiblePeriodEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"counter":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string"},"amounts":{"type":"array","items":{"type":"object","properties":{"price":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","costCenter1","costCenter2","isNet","taxCode"],"additionalProperties":false},"appliedPause":{"anyOf":[{"type":"object","properties":{"rule":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["rule","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"baseAmount":{"type":"number"},"baseAmountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"proRatedBaseAmount":{"type":"number"},"adjustedAmount":{"type":"number"},"proRatedAdjustedAmountBeforePause":{"type":"number"},"proRatedAdjustedAmount":{"type":"number"},"optionsAmount":{"type":"number"},"proRatedOptionsAmountBeforePause":{"type":"number"},"proRatedOptionsAmount":{"type":"number"},"totalAmount":{"type":"number"},"multiplyFactor":{"type":"number"},"isDeviantStart":{"type":"boolean"},"isDeviantEnd":{"type":"boolean"},"isProRataStart":{"type":"boolean"},"isProRataEnd":{"type":"boolean"},"deviantStartDays":{"type":"number"},"deviantEndDays":{"type":"number"},"adjustments":{"type":"array","items":{"type":"object","properties":{"adjustment":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["adjustment","description"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"object","properties":{"option":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false},"amount":{"type":"number"},"proRatedAmount":{"type":"number"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["option","amount","proRatedAmount","description"],"additionalProperties":false}},"description":{"type":"string"},"voucherAmount":{"type":"number"},"vouchers":{"type":"array","items":{"type":"object","properties":{"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"code":{"type":"string"},"usagePeriod":{"type":"string"},"usageDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["voucher","name","code","usagePeriod","usageDate","amount"],"additionalProperties":false}}},"required":["price","appliedPause","baseAmount","proRatedBaseAmount","adjustedAmount","proRatedAdjustedAmountBeforePause","proRatedAdjustedAmount","optionsAmount","proRatedOptionsAmountBeforePause","proRatedOptionsAmount","totalAmount","multiplyFactor","isDeviantStart","isDeviantEnd","isProRataStart","isProRataEnd","deviantStartDays","deviantEndDays","adjustments","options","description","voucherAmount","vouchers"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaDirectDebitPurpose":{"type":"string"},"receiptTexts":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"voucherAmount":{"type":"integer","minimum":0,"maximum":9999999999},"plan":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"}},"required":["isNet"],"additionalProperties":false},"billing":{"type":"object","properties":{"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["receiptTemplate","sepaDirectDebitCashAccount","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount"],"additionalProperties":false}},"required":["type","department","period","charge","billing"],"additionalProperties":false},"contractCollectionId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"error":{"type":"string"}},"required":["collectAt","periodStart","periodEnd","flexiblePeriodStart","flexiblePeriodEnd","counter","amount","description","amounts","dueAt","sepaDirectDebitPurpose","receiptTexts","voucherAmount","plan"],"additionalProperties":false},{"type":"null"}]},"totalCollectedAmount":{"type":"integer","minimum":0,"maximum":9999999999},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"voucher":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"code":{"type":"string","minLength":10,"maxLength":10},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"startAt":{"type":"string"},"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","interval","amount","amountPercentage","code","endAt","startAt","voucher"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","contact","debtor","plan","options","startAt","endAt","terminatedAt","pause","customFields","flexibleInterval","fixedAmount","lastCollection","nextCollection","totalCollectedAmount","voucher"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-contracts-deleteContract","summary":"Deletes a contract","description":"\n### Required permissions:\n* #### mandate.read\n* #### plan.read\n* #### contract.remove\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractId","schema":{"type":"string"},"required":true},{"in":"query","name":"contactId","schema":{"type":"string"},"required":true},{"in":"query","name":"planId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/list":{"post":{"operationId":"crm-contracts-listContracts","summary":"Gets a list of contracts for the mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### contract.read\n* #### plan.read","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","plan.plan","plan.name","plan.tags","plan.interval","options","startAt","endAt","terminatedAt","pause.ruleId","pause.startAt","pause.endAt","flexibleInterval","fixedAmount","lastCollection.collectAt","lastCollection.periodStart","lastCollection.periodEnd","lastCollection.flexiblePeriodStart","lastCollection.flexiblePeriodEnd","lastCollection.counter","lastCollection.amount","lastCollection.description","lastCollection.amounts","lastCollection.dueAt","lastCollection.sepaDirectDebitPurpose","lastCollection.receiptTexts.title","lastCollection.receiptTexts.intro","lastCollection.receiptTexts.note","lastCollection.receiptTexts.subject","lastCollection.receiptTexts.message","lastCollection.voucherAmount","lastCollection.plan.type","lastCollection.plan.department","lastCollection.plan.period.interval","lastCollection.plan.period.mode","lastCollection.plan.period.count","lastCollection.plan.period.custom.startDay","lastCollection.plan.period.custom.startMonth","lastCollection.plan.period.custom.rrule","lastCollection.plan.period.custom.range.value","lastCollection.plan.period.custom.range.unit","lastCollection.plan.period.flexible.baseInterval","lastCollection.plan.period.flexible.intervals","lastCollection.plan.period.flexible.mode","lastCollection.plan.charge.isNet","lastCollection.plan.billing.receiptTemplate","lastCollection.plan.billing.sepaDirectDebitCashAccount","lastCollection.plan.billing.sepaDirectDebitSendReceipts","lastCollection.plan.billing.sepaCreditTransferCashAccount","lastCollection.contractCollectionId","nextCollection.collectAt","nextCollection.periodStart","nextCollection.periodEnd","nextCollection.flexiblePeriodStart","nextCollection.flexiblePeriodEnd","nextCollection.counter","nextCollection.amount","nextCollection.description","nextCollection.amounts","nextCollection.dueAt","nextCollection.sepaDirectDebitPurpose","nextCollection.receiptTexts.title","nextCollection.receiptTexts.intro","nextCollection.receiptTexts.note","nextCollection.receiptTexts.subject","nextCollection.receiptTexts.message","nextCollection.voucherAmount","nextCollection.plan.type","nextCollection.plan.department","nextCollection.plan.period.interval","nextCollection.plan.period.mode","nextCollection.plan.period.count","nextCollection.plan.period.custom.startDay","nextCollection.plan.period.custom.startMonth","nextCollection.plan.period.custom.rrule","nextCollection.plan.period.custom.range.value","nextCollection.plan.period.custom.range.unit","nextCollection.plan.period.flexible.baseInterval","nextCollection.plan.period.flexible.intervals","nextCollection.plan.period.flexible.mode","nextCollection.plan.charge.isNet","nextCollection.plan.billing.receiptTemplate","nextCollection.plan.billing.sepaDirectDebitCashAccount","nextCollection.plan.billing.sepaDirectDebitSendReceipts","nextCollection.plan.billing.sepaCreditTransferCashAccount","nextCollection.contractCollectionId","nextCollection.error","totalCollectedAmount","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","voucher.name","voucher.interval","voucher.amount","voucher.amountPercentage","voucher.code","voucher.endAt","voucher.startAt","voucher.voucher"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"contactId":{"type":"string"},"planId":{"type":"string"},"paymentMethodType":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"status":{"type":"string","enum":["collect","active","upcoming","paused","termination","ended","failed","collecting"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"contracts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"debtor":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]}},"required":["account","name","nameNormalized","nameSort","paymentMethodType"],"additionalProperties":false},"plan":{"type":"object","properties":{"plan":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"tags":{"type":"string array"},"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]}},"required":["plan","name","tags","interval"],"additionalProperties":false},"options":{"type":"array","items":{"type":"string","minLength":1}},"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pause":{"anyOf":[{"type":"object","properties":{"ruleId":{"type":"string","minLength":8,"maxLength":8},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["ruleId","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"customFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}},"flexibleInterval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"fixedAmount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"lastCollection":{"anyOf":[{"type":"object","properties":{"collectAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"periodStart":{"type":"string"},"periodEnd":{"type":"string"},"flexiblePeriodStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"flexiblePeriodEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"counter":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string"},"amounts":{"type":"array","items":{"type":"object","properties":{"price":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","costCenter1","costCenter2","isNet","taxCode"],"additionalProperties":false},"appliedPause":{"anyOf":[{"type":"object","properties":{"rule":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["rule","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"baseAmount":{"type":"number"},"baseAmountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"proRatedBaseAmount":{"type":"number"},"adjustedAmount":{"type":"number"},"proRatedAdjustedAmountBeforePause":{"type":"number"},"proRatedAdjustedAmount":{"type":"number"},"optionsAmount":{"type":"number"},"proRatedOptionsAmountBeforePause":{"type":"number"},"proRatedOptionsAmount":{"type":"number"},"totalAmount":{"type":"number"},"multiplyFactor":{"type":"number"},"isDeviantStart":{"type":"boolean"},"isDeviantEnd":{"type":"boolean"},"isProRataStart":{"type":"boolean"},"isProRataEnd":{"type":"boolean"},"deviantStartDays":{"type":"number"},"deviantEndDays":{"type":"number"},"adjustments":{"type":"array","items":{"type":"object","properties":{"adjustment":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["adjustment","description"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"object","properties":{"option":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false},"amount":{"type":"number"},"proRatedAmount":{"type":"number"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["option","amount","proRatedAmount","description"],"additionalProperties":false}},"description":{"type":"string"},"voucherAmount":{"type":"number"},"vouchers":{"type":"array","items":{"type":"object","properties":{"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"code":{"type":"string"},"usagePeriod":{"type":"string"},"usageDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["voucher","name","code","usagePeriod","usageDate","amount"],"additionalProperties":false}}},"required":["price","appliedPause","baseAmount","proRatedBaseAmount","adjustedAmount","proRatedAdjustedAmountBeforePause","proRatedAdjustedAmount","optionsAmount","proRatedOptionsAmountBeforePause","proRatedOptionsAmount","totalAmount","multiplyFactor","isDeviantStart","isDeviantEnd","isProRataStart","isProRataEnd","deviantStartDays","deviantEndDays","adjustments","options","description","voucherAmount","vouchers"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaDirectDebitPurpose":{"type":"string"},"receiptTexts":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"voucherAmount":{"type":"integer","minimum":0,"maximum":9999999999},"plan":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"}},"required":["isNet"],"additionalProperties":false},"billing":{"type":"object","properties":{"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["receiptTemplate","sepaDirectDebitCashAccount","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount"],"additionalProperties":false}},"required":["type","department","period","charge","billing"],"additionalProperties":false},"contractCollectionId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["collectAt","periodStart","periodEnd","flexiblePeriodStart","flexiblePeriodEnd","counter","amount","description","amounts","dueAt","sepaDirectDebitPurpose","receiptTexts","voucherAmount","plan","contractCollectionId"],"additionalProperties":false},{"type":"null"}]},"nextCollection":{"anyOf":[{"type":"object","properties":{"collectAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"periodStart":{"type":"string"},"periodEnd":{"type":"string"},"flexiblePeriodStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"flexiblePeriodEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"counter":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string"},"amounts":{"type":"array","items":{"type":"object","properties":{"price":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","costCenter1","costCenter2","isNet","taxCode"],"additionalProperties":false},"appliedPause":{"anyOf":[{"type":"object","properties":{"rule":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"adjustment":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["operator","value"],"additionalProperties":false}},"required":["id","name","adjustment"],"additionalProperties":false},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["rule","startAt","endAt"],"additionalProperties":false},{"type":"null"}]},"baseAmount":{"type":"number"},"baseAmountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"proRatedBaseAmount":{"type":"number"},"adjustedAmount":{"type":"number"},"proRatedAdjustedAmountBeforePause":{"type":"number"},"proRatedAdjustedAmount":{"type":"number"},"optionsAmount":{"type":"number"},"proRatedOptionsAmountBeforePause":{"type":"number"},"proRatedOptionsAmount":{"type":"number"},"totalAmount":{"type":"number"},"multiplyFactor":{"type":"number"},"isDeviantStart":{"type":"boolean"},"isDeviantEnd":{"type":"boolean"},"isProRataStart":{"type":"boolean"},"isProRataEnd":{"type":"boolean"},"deviantStartDays":{"type":"number"},"deviantEndDays":{"type":"number"},"adjustments":{"type":"array","items":{"type":"object","properties":{"adjustment":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"filter"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false}},"required":["operator","value","type","id","name","description","min","max","filter"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"condition"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"condition":{"$ref":"#/components/schemas/__schema5"}},"required":["operator","value","type","id","name","description","min","max","condition"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","const":"period"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"months":{"maxItems":12,"type":"array","items":{"type":"number","minimum":1,"maximum":12}},"years":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":2025,"maximum":3000}}},"required":["operator","value","type","id","name","description","min","max","months","years"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tiers"},"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","maxLength":64},"description":{"type":"string","maxLength":300},"stopAfterMatch":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]},"tiers":{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false}},"required":["type","id","name","description","min","max","tiers"],"additionalProperties":false}],"type":"object"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["adjustment","description"],"additionalProperties":false}},"options":{"type":"array","items":{"type":"object","properties":{"option":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"object","properties":{"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"proRataMode":{"anyOf":[{"type":"string","enum":["start","end","startEnd"]},{"type":"null"}]},"expression":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["operator","expression"],"additionalProperties":false},{"type":"null"}]},"tiers":{"anyOf":[{"type":"object","properties":{"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},"tiers":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["set","add","subtract","addPercentage","subtractPercentage","divideBy","multiplyBy"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"from":{"type":"number"},"to":{"type":"number"}},"required":["operator","value","from","to"],"additionalProperties":false}}},"required":["expression","tiers"],"additionalProperties":false},{"type":"null"}]}},"required":["price","proRataMode","expression","tiers"],"additionalProperties":false},"description":{"type":"string","minLength":1,"maxLength":300},"preSelected":{"type":"boolean"},"oneTime":{"type":"boolean"},"filter":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","amount","description","preSelected","oneTime","filter"],"additionalProperties":false},"amount":{"type":"number"},"proRatedAmount":{"type":"number"},"amountStep":{"type":"object","properties":{"type":{"type":"string","enum":["expressionFailed","expressionReturnedNegative","expressionTaken","tiersExpressionNotANumber","noTierMatched","matchedTier"]},"args":{}},"required":["type"],"additionalProperties":false},"description":{"type":"string"}},"required":["option","amount","proRatedAmount","description"],"additionalProperties":false}},"description":{"type":"string"},"voucherAmount":{"type":"number"},"vouchers":{"type":"array","items":{"type":"object","properties":{"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"code":{"type":"string"},"usagePeriod":{"type":"string"},"usageDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["voucher","name","code","usagePeriod","usageDate","amount"],"additionalProperties":false}}},"required":["price","appliedPause","baseAmount","proRatedBaseAmount","adjustedAmount","proRatedAdjustedAmountBeforePause","proRatedAdjustedAmount","optionsAmount","proRatedOptionsAmountBeforePause","proRatedOptionsAmount","totalAmount","multiplyFactor","isDeviantStart","isDeviantEnd","isProRataStart","isProRataEnd","deviantStartDays","deviantEndDays","adjustments","options","description","voucherAmount","vouchers"],"additionalProperties":false}},"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaDirectDebitPurpose":{"type":"string"},"receiptTexts":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"voucherAmount":{"type":"integer","minimum":0,"maximum":9999999999},"plan":{"type":"object","properties":{"type":{"type":"string","enum":["membershipFee","contract","donation"]},"department":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"period":{"type":"object","properties":{"interval":{"type":"string","enum":["month","quarter","halfYear","year","custom","flexible"]},"mode":{"anyOf":[{"type":"string","enum":["interval","range"]},{"type":"null"}]},"count":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"custom":{"anyOf":[{"type":"object","properties":{"startDay":{"type":"integer","minimum":1,"maximum":31},"startMonth":{"type":"integer","minimum":1,"maximum":12},"rrule":{"type":"string"},"range":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["startDay","startMonth","rrule","range"],"additionalProperties":false},{"type":"null"}]},"flexible":{"anyOf":[{"type":"object","properties":{"baseInterval":{"type":"string","enum":["month","quarter","halfYear","year"]},"intervals":{"minItems":1,"type":"array","items":{"type":"string","enum":["month","quarter","halfYear","year"]}},"mode":{"type":"string","enum":["multiply","iterate"]}},"required":["baseInterval","intervals","mode"],"additionalProperties":false},{"type":"null"}]}},"required":["interval","mode","count","custom","flexible"],"additionalProperties":false},"charge":{"type":"object","properties":{"isNet":{"type":"boolean"}},"required":["isNet"],"additionalProperties":false},"billing":{"type":"object","properties":{"receiptTemplate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"sepaDirectDebitCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaDirectDebitSendReceipts":{"type":"boolean"},"sepaCreditTransferCashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["receiptTemplate","sepaDirectDebitCashAccount","sepaDirectDebitSendReceipts","sepaCreditTransferCashAccount"],"additionalProperties":false}},"required":["type","department","period","charge","billing"],"additionalProperties":false},"contractCollectionId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"error":{"type":"string"}},"required":["collectAt","periodStart","periodEnd","flexiblePeriodStart","flexiblePeriodEnd","counter","amount","description","amounts","dueAt","sepaDirectDebitPurpose","receiptTexts","voucherAmount","plan"],"additionalProperties":false},{"type":"null"}]},"totalCollectedAmount":{"type":"integer","minimum":0,"maximum":9999999999},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"voucher":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"code":{"type":"string","minLength":10,"maxLength":10},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"startAt":{"type":"string"},"voucher":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","interval","amount","amountPercentage","code","endAt","startAt","voucher"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","contact","debtor","plan","options","startAt","endAt","terminatedAt","pause","customFields","flexibleInterval","fixedAmount","lastCollection","nextCollection","totalCollectedAmount","voucher"],"additionalProperties":false}}},"required":["count","contracts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/export":{"post":{"operationId":"crm-contracts-exportContracts","summary":"Exports contracts for an organization","description":"\n### Required permissions:\n* #### mandate.read\n* #### contract.read\n* #### plan.read","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"contactId":{"type":"string"},"planId":{"type":"string"},"paymentMethodType":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"status":{"type":"string","enum":["collect","active","upcoming","paused","termination","ended","failed","collecting"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","debtor.account","debtor.name","debtor.nameNormalized","debtor.nameSort","debtor.paymentMethodType","plan.plan","plan.name","plan.tags","plan.interval","options","startAt","endAt","terminatedAt","pause.ruleId","pause.startAt","pause.endAt","flexibleInterval","fixedAmount","lastCollection.collectAt","lastCollection.periodStart","lastCollection.periodEnd","lastCollection.flexiblePeriodStart","lastCollection.flexiblePeriodEnd","lastCollection.counter","lastCollection.amount","lastCollection.description","lastCollection.amounts","lastCollection.dueAt","lastCollection.sepaDirectDebitPurpose","lastCollection.receiptTexts.title","lastCollection.receiptTexts.intro","lastCollection.receiptTexts.note","lastCollection.receiptTexts.subject","lastCollection.receiptTexts.message","lastCollection.voucherAmount","lastCollection.plan.type","lastCollection.plan.department","lastCollection.plan.period.interval","lastCollection.plan.period.mode","lastCollection.plan.period.count","lastCollection.plan.period.custom.startDay","lastCollection.plan.period.custom.startMonth","lastCollection.plan.period.custom.rrule","lastCollection.plan.period.custom.range.value","lastCollection.plan.period.custom.range.unit","lastCollection.plan.period.flexible.baseInterval","lastCollection.plan.period.flexible.intervals","lastCollection.plan.period.flexible.mode","lastCollection.plan.charge.isNet","lastCollection.plan.billing.receiptTemplate","lastCollection.plan.billing.sepaDirectDebitCashAccount","lastCollection.plan.billing.sepaDirectDebitSendReceipts","lastCollection.plan.billing.sepaCreditTransferCashAccount","lastCollection.contractCollectionId","nextCollection.collectAt","nextCollection.periodStart","nextCollection.periodEnd","nextCollection.flexiblePeriodStart","nextCollection.flexiblePeriodEnd","nextCollection.counter","nextCollection.amount","nextCollection.description","nextCollection.amounts","nextCollection.dueAt","nextCollection.sepaDirectDebitPurpose","nextCollection.receiptTexts.title","nextCollection.receiptTexts.intro","nextCollection.receiptTexts.note","nextCollection.receiptTexts.subject","nextCollection.receiptTexts.message","nextCollection.voucherAmount","nextCollection.plan.type","nextCollection.plan.department","nextCollection.plan.period.interval","nextCollection.plan.period.mode","nextCollection.plan.period.count","nextCollection.plan.period.custom.startDay","nextCollection.plan.period.custom.startMonth","nextCollection.plan.period.custom.rrule","nextCollection.plan.period.custom.range.value","nextCollection.plan.period.custom.range.unit","nextCollection.plan.period.flexible.baseInterval","nextCollection.plan.period.flexible.intervals","nextCollection.plan.period.flexible.mode","nextCollection.plan.charge.isNet","nextCollection.plan.billing.receiptTemplate","nextCollection.plan.billing.sepaDirectDebitCashAccount","nextCollection.plan.billing.sepaDirectDebitSendReceipts","nextCollection.plan.billing.sepaCreditTransferCashAccount","nextCollection.contractCollectionId","nextCollection.error","totalCollectedAmount","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","voucher.name","voucher.interval","voucher.amount","voucher.amountPercentage","voucher.code","voucher.endAt","voucher.startAt","voucher.voucher"]},{"type":"string","pattern":"^customFields\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/collect":{"post":{"operationId":"crm-contracts-collectContracts","summary":"Collect contracts for an organization","description":"\n### Required permissions:\n* #### mandate.read\n* #### contract.read\n* #### contract.edit\n* #### receipt.insert","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"contactId":{"type":"string"},"planId":{"type":"string"},"paymentMethodType":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"status":{"type":"string","enum":["collect","active","upcoming","paused","termination","ended","failed","collecting"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"settings":{"type":"object","properties":{"mode":{"type":"string","enum":["draft","completed","completedAndSend"]},"mergeReceipts":{"type":"boolean"},"createElectronicInvoices":{"type":"boolean"}},"required":["mode","mergeReceipts","createElectronicInvoices"]}},"required":["settings"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contractCounter":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmount":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["_id","contractCounter","totalAmount"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/collections/{contractCollectionId}":{"get":{"operationId":"crm-contracts-collections-getContractCollection","summary":"Gets a specific contract collection with all of its details","description":"\n### Required permissions:\n* #### mandate.read\n* #### contractCollection.read","tags":["crm / contracts / collections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractCollectionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["collecting","draft","completed","sent","partialPaid","paid"]},"progress":{"type":"integer","minimum":0,"maximum":100},"contractCounter":{"type":"integer","minimum":0,"maximum":9007199254740991},"failedContractCounter":{"type":"integer","minimum":0,"maximum":9007199254740991},"receiptCounters":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"draft":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"sent":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethodTypes":{"type":"object","propertyNames":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"sendMethodTypes":{"type":"object","propertyNames":{"type":"string","enum":["none","email","postal"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["total","draft","completed","sent","paymentMethodTypes","sendMethodTypes"],"additionalProperties":false},"nextAction":{"anyOf":[{"type":"string","enum":["complete","send","collectDirectDebits","collectOnlineDebits","charge"]},{"type":"null"}]},"totalAmount":{"type":"integer","minimum":0,"maximum":9999999999},"openAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","mandate","status","progress","contractCounter","failedContractCounter","receiptCounters","nextAction","totalAmount","openAmount","paidAmount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/collections/list":{"post":{"operationId":"crm-contracts-collections-listContractCollections","summary":"Gets a list of contract collections for the mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### contractCollection.read","tags":["crm / contracts / collections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","status","progress","contractCounter","failedContractCounter","receiptCounters.total","receiptCounters.draft","receiptCounters.completed","receiptCounters.sent","nextAction","totalAmount","openAmount","paidAmount","createdAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key"]},{"type":"string","pattern":"^receiptCounters\\.paymentMethodTypes\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^receiptCounters\\.sendMethodTypes\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"status":{"type":"string","enum":["collecting","draft","completed","sent","partialPaid","paid"]},"nextAction":{"type":"string","enum":["complete","send","collectDirectDebits","collectOnlineDebits","charge"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"contractCollections":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["collecting","draft","completed","sent","partialPaid","paid"]},"progress":{"type":"integer","minimum":0,"maximum":100},"contractCounter":{"type":"integer","minimum":0,"maximum":9007199254740991},"failedContractCounter":{"type":"integer","minimum":0,"maximum":9007199254740991},"receiptCounters":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"draft":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"sent":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethodTypes":{"type":"object","propertyNames":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"sendMethodTypes":{"type":"object","propertyNames":{"type":"string","enum":["none","email","postal"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["total","draft","completed","sent","paymentMethodTypes","sendMethodTypes"],"additionalProperties":false},"nextAction":{"anyOf":[{"type":"string","enum":["complete","send","collectDirectDebits","collectOnlineDebits","charge"]},{"type":"null"}]},"totalAmount":{"type":"integer","minimum":0,"maximum":9999999999},"openAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]}},"required":["_id","mandate","status","progress","contractCounter","failedContractCounter","receiptCounters","nextAction","totalAmount","openAmount","paidAmount"],"additionalProperties":false}}},"required":["count","contractCollections"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/collections/{contractCollectionId}/retry":{"post":{"operationId":"crm-contracts-collections-retryContractCollection","summary":"Retries a contract collection","description":"\n### Required permissions:\n* #### mandate.read\n* #### contract.read\n* #### contract.edit\n* #### receipt.insert","tags":["crm / contracts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractCollectionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/collections/{contractCollectionId}/skipNextAction":{"post":{"operationId":"crm-contracts-collections-skipContractCollectionNextAction","summary":"Skips current contract collection next action","description":"\n### Required permissions:\n* #### mandate.read\n* #### contractCollection.edit","tags":["crm / contracts / collections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contractCollectionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"nextAction":{"anyOf":[{"type":"string","enum":["complete","send","collectDirectDebits","collectOnlineDebits","charge"]},{"type":"null"}]}},"required":["nextAction"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/contracts/statistics/contractCollectionTaskCounters":{"get":{"operationId":"crm-contracts-statistics-getContractCollectionTaskCounters","summary":"Gets counters for contract collection tasks","description":"\n### Required permissions:\n* #### mandate.read\n* #### contractCollection.read","tags":["crm / contracts / statistics"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"draftCollectionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCollectionsDueDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"collectionsPendingSendCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"collectionsPendingSendDueDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"sepaCollectDueCollectionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sepaCollectDueCollectionsDueDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"sepaCollectOverdueCollectionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sepaCollectOverdueCollectionsDueDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["draftCollectionsCount","draftCollectionsDueDate","collectionsPendingSendCount","collectionsPendingSendDueDate","sepaCollectDueCollectionsCount","sepaCollectDueCollectionsDueDate","sepaCollectOverdueCollectionsCount","sepaCollectOverdueCollectionsDueDate"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/sample":{"get":{"operationId":"crm-mailings-getMailingMessageTemplateContentsSample","summary":"Get mailing sample","description":"Returns the sample for a mailing  <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"type","schema":{"type":"string","enum":["email","letter"]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"sample":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["sample"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/tags/list":{"post":{"operationId":"crm-mailings-listTags","summary":"List mailing tags","description":"Returns a list of mailing tags for the given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/tags/remove":{"post":{"operationId":"crm-mailings-removeTag","summary":"Remove tag","description":"Removes a mailing tag case-insensitively from mailings and dependent contact mailing preferences and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.remove","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/list":{"post":{"operationId":"crm-mailings-listMailings","summary":"List mailings","description":"Gets a list of mailings <br /><br /> \n### Required permissions:\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","type","status","name","description","tags","email.tracking","email.unsubscribe","email.subject","email.previewText","email.replyTo","email.attachments","letter.sendColorPostal","letter.sendWithCheaperMethod","scheduledAt","templateContentsDefault","contactType","createdAt","recipients.segments","recipients.sharedSegmentsFilter.organizations","recipients.sharedSegmentsFilter.scope","recipients.sharedSegmentsFilter.sharedSegment","sendToAlternativeCommunications","onlySendToMissingEmailAddresses","total","costs","none","manual","dispatching","dispatched","sent","opened","failed","clicks","unsubscribes"]},{"type":"string","pattern":"^templateContents\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^templateAttachment\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^recipients\\.viewFilter\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"type":{"type":"string","enum":["email","letter"]},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"status":{"type":"string","enum":["draft","send","sending","delivered"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"mailings":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["email","letter"]},"status":{"type":"string","enum":["draft","send","sending","delivered"]},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"tags":{"type":"string array"},"email":{"anyOf":[{"type":"object","properties":{"tracking":{"type":"boolean"},"unsubscribe":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"replyTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]}},"required":["tracking","unsubscribe","subject","previewText","replyTo","attachments"],"additionalProperties":false},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateContentsDefault":{"type":"boolean"},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"recipients":{"type":"object","properties":{"viewFilter":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"segments":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},{"type":"null"}]},"sharedSegmentsFilter":{"anyOf":[{"type":"object","properties":{"organizations":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["shared","all"]},"sharedSegment":{"type":"string","minLength":1,"maxLength":30}},"required":["organizations","scope","sharedSegment"],"additionalProperties":false},{"type":"null"}]}},"required":["viewFilter","segments","sharedSegmentsFilter"],"additionalProperties":false},"sendToAlternativeCommunications":{"type":"boolean"},"onlySendToMissingEmailAddresses":{"type":"boolean"},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"costs":{"type":"integer","minimum":0,"maximum":9999999999},"none":{"type":"integer","minimum":0,"maximum":9007199254740991},"manual":{"type":"integer","minimum":0,"maximum":9007199254740991},"dispatching":{"type":"integer","minimum":0,"maximum":9007199254740991},"dispatched":{"type":"integer","minimum":0,"maximum":9007199254740991},"sent":{"type":"integer","minimum":0,"maximum":9007199254740991},"opened":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"clicks":{"type":"integer","minimum":0,"maximum":9007199254740991},"unsubscribes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","type","status","name","description","tags","email","letter","scheduledAt","templateContents","templateAttachment","templateContentsDefault","contactType","recipients","sendToAlternativeCommunications","onlySendToMissingEmailAddresses","total","costs","none","manual","dispatching","dispatched","sent","opened","failed","clicks","unsubscribes"],"additionalProperties":false}}},"required":["count","mailings"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}":{"get":{"operationId":"crm-mailings-getMailing","summary":"Get mailing","description":"Returns a specific mailing by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["email","letter"]},"status":{"type":"string","enum":["draft","send","sending","delivered"]},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"tags":{"type":"string array"},"email":{"anyOf":[{"type":"object","properties":{"tracking":{"type":"boolean"},"unsubscribe":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"replyTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]}},"required":["tracking","unsubscribe","subject","previewText","replyTo","attachments"],"additionalProperties":false},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateContentsDefault":{"type":"boolean"},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"recipients":{"type":"object","properties":{"viewFilter":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"segments":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},{"type":"null"}]},"sharedSegmentsFilter":{"anyOf":[{"type":"object","properties":{"organizations":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["shared","all"]},"sharedSegment":{"type":"string","minLength":1,"maxLength":30}},"required":["organizations","scope","sharedSegment"],"additionalProperties":false},{"type":"null"}]}},"required":["viewFilter","segments","sharedSegmentsFilter"],"additionalProperties":false},"sendToAlternativeCommunications":{"type":"boolean"},"onlySendToMissingEmailAddresses":{"type":"boolean"},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"costs":{"type":"integer","minimum":0,"maximum":9999999999},"none":{"type":"integer","minimum":0,"maximum":9007199254740991},"manual":{"type":"integer","minimum":0,"maximum":9007199254740991},"dispatching":{"type":"integer","minimum":0,"maximum":9007199254740991},"dispatched":{"type":"integer","minimum":0,"maximum":9007199254740991},"sent":{"type":"integer","minimum":0,"maximum":9007199254740991},"opened":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"clicks":{"type":"integer","minimum":0,"maximum":9007199254740991},"unsubscribes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","type","status","name","description","tags","email","letter","scheduledAt","templateContents","templateAttachment","templateContentsDefault","contactType","recipients","sendToAlternativeCommunications","onlySendToMissingEmailAddresses","total","costs","none","manual","dispatching","dispatched","sent","opened","failed","clicks","unsubscribes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-mailings-updateMailing","summary":"Update mailing","description":"Updates a mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.insert","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"type":{"type":"string","enum":["email","letter"]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sendToAlternativeCommunications":{"type":"boolean"},"onlySendToMissingEmailAddresses":{"type":"boolean"},"templateContentsDefault":{"type":"boolean"},"templateContents":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"draft":{"default":true,"type":"boolean"},"recipients":{"type":"object","properties":{"viewFilter":{"anyOf":[{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}},{"type":"null"}]},"segments":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},{"type":"null"}]},{"type":"null"}]},"sharedSegmentsFilter":{"anyOf":[{"anyOf":[{"type":"object","properties":{"organizations":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["shared","all"]},"sharedSegment":{"type":"string","minLength":1,"maxLength":30}},"required":["organizations","scope","sharedSegment"]},{"type":"null"}]},{"type":"null"}]}},"required":["segments","sharedSegmentsFilter"]},"email":{"anyOf":[{"type":"object","properties":{"tracking":{"type":"boolean"},"unsubscribe":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"replyTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachments":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["tracking","unsubscribe","subject","previewText","replyTo"]},{"type":"null"}]}},"required":["name","description","type","contactType","letter","scheduledAt","tags","templateAttachment","sendToAlternativeCommunications","onlySendToMissingEmailAddresses","templateContentsDefault","templateContents","recipients","email"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-mailings-deleteMailing","summary":"Delete mailing","description":"Deletes a specific mailing by id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.remove","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/preview":{"post":{"operationId":"crm-mailings-getMailingPreview","summary":"Get mailing preview","description":"Returns the preview contents of the mailing document for a specific mailing for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"templateContents":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"type":{"type":"string","enum":["email","letter"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"document":{"anyOf":[{"type":"string"},{"type":"null"}]},"width":{"type":"number","minimum":0},"pages":{"type":"number","minimum":0}},"required":["document"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings":{"post":{"operationId":"crm-mailings-createMailing","summary":"Create mailing","description":"Creates a new mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.insert","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"type":{"type":"string","enum":["email","letter"]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"recipients":{"type":"object","properties":{"viewFilter":{"anyOf":[{"type":"object","properties":{"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}},{"type":"null"}]},"segments":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},{"type":"null"}]},{"type":"null"}]},"sharedSegmentsFilter":{"anyOf":[{"anyOf":[{"type":"object","properties":{"organizations":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"scope":{"type":"string","enum":["shared","all"]},"sharedSegment":{"type":"string","minLength":1,"maxLength":30}},"required":["organizations","scope","sharedSegment"]},{"type":"null"}]},{"type":"null"}]}},"required":["segments","sharedSegmentsFilter"]},"templateContentsDefault":{"type":"boolean"},"tags":{"anyOf":[{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},{"type":"null"}]},"draft":{"anyOf":[{"default":true,"type":"boolean"},{"type":"null"}]},"email":{"anyOf":[{"anyOf":[{"type":"object","properties":{"tracking":{"type":"boolean"},"unsubscribe":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"replyTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachments":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["tracking","unsubscribe","subject","previewText","replyTo"]},{"type":"null"}]},{"type":"null"}]},"letter":{"anyOf":[{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},{"type":"null"}]},"scheduledAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},{"type":"null"}]},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateAttachment":{"anyOf":[{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},{"type":"null"}]},"sendToAlternativeCommunications":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"onlySendToMissingEmailAddresses":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"copyOrgEmailTemplateContents":{"default":false,"type":"boolean"}},"required":["name","description","type","contactType","recipients","templateContentsDefault","tags","email","letter","scheduledAt","templateContents","templateAttachment","sendToAlternativeCommunications","onlySendToMissingEmailAddresses"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/details":{"post":{"operationId":"crm-mailings-updateMailingDetails","summary":"Update mailing details","description":"Updates a mailing details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.insert","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"type":{"type":"string","enum":["email","letter"]}},"required":["name","description","type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/recipients":{"get":{"operationId":"crm-mailings-getMailingRecipientsTotals","summary":"Get mailing recipients","description":"Returns the recipients of a specific mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"filteredRecipientsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tagsMatchCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"receivingCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"mailingDisabledCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"unbsubscribedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingAddressCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"duplicatedAddressCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["filteredRecipientsCount","tagsMatchCount","receivingCount","mailingDisabledCount","unbsubscribedCount","missingAddressCount","duplicatedAddressCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/estimatedSendingCosts":{"get":{"operationId":"crm-mailings-getMailingEstimatedSendingCosts","summary":"Get mailing estimated sending costs","description":"Returns the estimated sending costs of a specific mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"number","minimum":0},"singleLetterPrice":{"type":"number","minimum":0},"receivingCount":{"type":"number","minimum":0},"documentPages":{"type":"number","minimum":0},"hasEnoughCredit":{"type":"boolean"},"organizationCredit":{"type":"number","minimum":0}},"required":["total","singleLetterPrice","receivingCount","documentPages","hasEnoughCredit","organizationCredit"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/recipients/list":{"post":{"operationId":"crm-mailings-listMailingRecipients","summary":"List mailing recipients","description":"Gets a list of mailing recipients <br /><br /> \n### Required permissions:\n* #### mailing.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["mandates","types","organization","organizationData.name","organizationData.avatar.resource","organizationData.avatar.fileName","organizationData.avatar.contentType","organizationData.avatar.fileSizeBytes","alternativeCommunicationsUnwind.email","alternativeCommunicationsUnwind.phone","alternativeCommunicationsUnwind.mobilePhone","alternativeCommunicationsUnwind.mailing","alternativeCommunicationsUnwind.mailingTags","alternativeCommunicationsUnwind.mailingUnsubscriptions","alternativeCommunicationsUnwind.id","alternativeCommunicationsUnwind.contact","alternativeCommunicationsUnwind.contactTypes","alternativeCommunicationsUnwind.name","alternativeCommunicationsUnwind.description","contactId","uniqueKey","name","nameNormalized","nameSort","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","communication.email"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"searchTerm":{"type":"string"},"userAssigned":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"segments":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"view":{"type":"string","enum":["filteredRecipients","receiving","tagsMatch","mailingDisabled","unbsubscribed","missingAddress","duplicatedAddress"]}},"required":["view"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"mailingRecipients":{"type":"array","items":{"type":"object","properties":{"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organizationData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"avatar":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","avatar"],"additionalProperties":false},"alternativeCommunicationsUnwind":{"anyOf":[{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mobilePhone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"mailing":{"type":"boolean"},"mailingTags":{"type":"string array"},"mailingUnsubscriptions":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"unsubscribedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"all":{"type":"boolean"}},"required":["email","unsubscribedAt","tags","all"],"additionalProperties":false}},"id":{"type":"string","minLength":8,"maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"contactTypes":{"anyOf":[{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":140}},"required":["email","phone","mobilePhone","mailing","mailingTags","mailingUnsubscriptions","id","contact","contactTypes","name","description"],"additionalProperties":false},{"type":"null"}]},"contactId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"uniqueKey":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":80},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":80},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"communication":{"type":"object","properties":{"email":{"type":"string"}},"additionalProperties":false}},"required":["mandates","types","organization","organizationData","alternativeCommunicationsUnwind","contactId","uniqueKey"],"additionalProperties":false}}},"required":["count","mailingRecipients"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/send":{"post":{"operationId":"crm-mailings-sendMailing","summary":"Send mailing","description":"Sends an existing mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.insert","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["scheduledAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/copyAttachments":{"post":{"operationId":"crm-mailings-copyMailingAttachments","summary":"Copy mailing attachments","description":"Copies the attachments from a mailing to tmp folder <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.insert","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"mailAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false}}},"required":["mailAttachments"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/mailings/{mailingId}/letter-files":{"post":{"operationId":"crm-mailings-exportMailingLetterFiles","summary":"Export mailing letter files","description":"Exports the letter PDF files for a mailing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### mailing.read\n* #### dispatchDocument.read","tags":["crm / mailings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"mailingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"sendStatus":{"type":"array","items":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]}},"sendMethod":{"type":"string","enum":["none","email","postal"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"clicked":{"type":"boolean"},"unsubscribed":{"type":"boolean"},"recipientContact":{"type":"string"},"receipt":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["receipt","reminder","donationReminder","returnedPayment","cancelation"]}}},"donation":{"type":"object","properties":{"id":{"type":"string"}}},"booking":{"type":"object","properties":{"id":{"type":"string"},"eventId":{"type":"string"},"resourceId":{"type":"string"},"renderInternal":{"type":"boolean"}}},"proof":{"type":"object","properties":{"id":{"type":"string"}}},"certificate":{"type":"object","properties":{"id":{"type":"string"}}},"pass":{"type":"object","properties":{"passTemplateId":{"type":"string"},"issuedPassId":{"type":"string"}}},"message":{"type":"object","properties":{"contact":{"type":"string"}}},"applicationForm":{"type":"object","properties":{"formId":{"type":"string"},"submissionId":{"type":"string"}}},"contactRule":{"type":"object","properties":{"id":{"type":"string"},"contact":{"type":"string"}}},"questionnaireForm":{"type":"object","properties":{"formId":{"type":"string"},"submissionId":{"type":"string"}}},"receiverName":{"type":"string","minLength":1},"receiverEmail":{"type":"string"},"markAsSent":{"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTextTemplates":{"post":{"operationId":"crm-mailings-messageTextTemplates-createMessageTextTemplate","summary":"Create message text template","description":"\n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTextTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"object","properties":{"de":{"type":"string","maxLength":998},"en":{"type":"string","maxLength":998}},"required":["de","en"]},"message":{"type":"object","properties":{"de":{"type":"string","maxLength":10000},"en":{"type":"string","maxLength":10000}},"required":["de","en"]},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}}},"required":["subject","message","contactTypes"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTextTemplates/list":{"post":{"operationId":"crm-mailings-messageTextTemplates-listMessageTextTemplates","summary":"List message text templates","description":"\n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTextTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactTypes":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"messageTextTemplates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"subject":{"type":"object","properties":{"de":{"type":"string","maxLength":998},"en":{"type":"string","maxLength":998}},"required":["de","en"],"additionalProperties":false},"message":{"type":"object","properties":{"de":{"type":"string","maxLength":10000},"en":{"type":"string","maxLength":10000}},"required":["de","en"],"additionalProperties":false}},"required":["_id","contactTypes","subject","message"],"additionalProperties":false}}},"required":["messageTextTemplates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTextTemplates/{messageTextTemplateId}":{"post":{"operationId":"crm-mailings-messageTextTemplates-updateMessageTextTemplate","summary":"Update message text template","description":"\n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.edit","tags":["crm / messageTextTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTextTemplateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"object","properties":{"de":{"type":"string","maxLength":998},"en":{"type":"string","maxLength":998}},"required":["de","en"]},"message":{"type":"object","properties":{"de":{"type":"string","maxLength":10000},"en":{"type":"string","maxLength":10000}},"required":["de","en"]},"contactTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}}},"required":["subject","message","contactTypes"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-mailings-messageTextTemplates-deleteMessageTextTemplate","summary":"Delete message text template","description":"\n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.remove","tags":["crm / messageTextTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTextTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/settings/contactSequenceNumbers":{"get":{"operationId":"crm-settings-getContactSequenceNumbers","summary":"Get contact sequence numbers","description":"Returns the current global sequence counters for contact numbers of an organization <br /><br /> \n### Required permissions:\n* #### crmSettings.edit","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991},"required":["member","address","customer","sponsor","contributor","employee","supplier"]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-settings-updateContactSequenceNumbers","summary":"Update contact sequence numbers","description":"Updates the current global sequence counters for contact numbers of an organization <br /><br /> \n### Required permissions:\n* #### crmSettings.edit","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactSequenceNumbers":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"required":["contactSequenceNumbers"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/settings":{"get":{"operationId":"crm-settings-getSettings","summary":"Get settings","description":"Returns the crm settings for an organization <br /><br /> \n### Required permissions:\n* #### crmSettings.read","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"modifiedBefore","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},{"in":"query","name":"modifiedAfter","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"contactNumberFormats":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","minLength":2,"maxLength":25},"required":["member","address","customer","sponsor","contributor","employee","supplier"]},"contactCustomFields":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false}},"stockReport":{"type":"object","properties":{"type":{"type":"string","enum":["singleSport","multipleSports"]},"clubNumber":{"type":"string","maxLength":10},"contactPerson":{"type":"string","maxLength":100},"sportNumber":{"type":"string","maxLength":4},"associationNumber":{"type":"string","maxLength":4}},"required":["type","clubNumber","contactPerson","sportNumber","associationNumber"],"additionalProperties":false}},"required":["contactNumberFormats","contactCustomFields","stockReport"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/settings/contactCustomFields":{"post":{"operationId":"crm-settings-updateContactCustomFields","summary":"Update contact custom fields","description":"Updates the available custom fields for a specific contact type. If certain fields are removed their data will be deleted from all contacts as well. <br /><br /> \n### Required permissions:\n* #### crmSettings.edit","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactType":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"customFields":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]}},"required":["contactType","customFields"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/settings/contactNumberFormats":{"post":{"operationId":"crm-settings-updateContactNumberFormats","summary":"Update contact number formats","description":"Updates the contact number formats of an organization <br /><br /> \n### Required permissions:\n* #### crmSettings.edit","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactNumberFormats":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"string","minLength":2,"maxLength":25},"required":["member","address","customer","sponsor","contributor","employee","supplier"]}},"required":["contactNumberFormats"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/settings/stockReport":{"post":{"operationId":"crm-settings-updateStockReportSettings","summary":"Update stock report settings","description":"Updates the stock report settings of an organization <br /><br /> \n### Required permissions:\n* #### crmSettings.edit","tags":["crm"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["singleSport","multipleSports"]},"clubNumber":{"type":"string","maxLength":10},"contactPerson":{"type":"string","maxLength":100},"sportNumber":{"type":"string","maxLength":4},"associationNumber":{"type":"string","maxLength":4}},"required":["type","clubNumber","contactPerson","sportNumber","associationNumber"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/departments":{"post":{"operationId":"crm-departments-createDepartment","summary":"Create a department","description":"\n### Required permissions:\n* #### department.insert","tags":["crm / departments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"category":{"type":"boolean"},"parentDepartmentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"syncWithMandateId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","const":"new-mandate"}]},{"type":"null"}]},"newMandateName":{"type":"string","minLength":1,"maxLength":32}},"required":["name","color","types","category","parentDepartmentId","syncWithMandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/departments/{departmentId}":{"get":{"operationId":"crm-departments-getDepartment","summary":"Get a department","description":"Returns a specific department for the given organization <br /><br /> \n### Required permissions:\n* #### department.read","tags":["crm / departments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"departmentId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"syncWithMandate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"member":{"anyOf":[{"type":"object","properties":{"stockReport":{"type":"object","properties":{"sportNumber":{"type":"string","maxLength":4},"associationNumber":{"type":"string","maxLength":4}},"required":["sportNumber","associationNumber"],"additionalProperties":false}},"required":["stockReport"],"additionalProperties":false},{"type":"null"}]},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"category":{"type":"boolean"},"idPath":{"type":"string"},"namePath":{"type":"string"},"activeTypeCounters":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"totalActiveContacts":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","name","syncWithMandate","types","member","color","category","idPath","namePath","activeTypeCounters","totalActiveContacts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-departments-updateDepartment","summary":"Updates a department","description":"\n### Required permissions:\n* #### department.edit","tags":["crm / departments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"departmentId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"category":{"type":"boolean"},"syncWithMandateId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","const":"new-mandate"}]},{"type":"null"}]},"newMandateName":{"type":"string","minLength":1,"maxLength":32}},"required":["name","color","types","category","syncWithMandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-departments-deleteDepartment","summary":"Deletes a department","description":"\n### Required permissions:\n* #### department.remove","tags":["crm / departments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"departmentId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/departments/list":{"post":{"operationId":"crm-departments-listDepartments","summary":"List departments","description":"Returns a list of departments for the given organization <br /><br /> \n### Required permissions:\n* #### department.read","tags":["crm / departments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","syncWithMandate","types","member.stockReport.sportNumber","member.stockReport.associationNumber","color","category","idPath","namePath","totalActiveContacts"]},{"type":"string","pattern":"^activeTypeCounters\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"category":{"type":"boolean"},"searchTerm":{"type":"string"},"excludeDepartmentIds":{"maxItems":100,"type":"array","items":{"type":"string"}},"includeDepartmentIds":{"maxItems":100,"type":"array","items":{"type":"string"}},"parentDepartmentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"syncWithMandateId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["types"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"departments":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"syncWithMandate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"member":{"anyOf":[{"type":"object","properties":{"stockReport":{"type":"object","properties":{"sportNumber":{"type":"string","maxLength":4},"associationNumber":{"type":"string","maxLength":4}},"required":["sportNumber","associationNumber"],"additionalProperties":false}},"required":["stockReport"],"additionalProperties":false},{"type":"null"}]},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"category":{"type":"boolean"},"idPath":{"type":"string"},"namePath":{"type":"string"},"activeTypeCounters":{"type":"object","propertyNames":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"totalActiveContacts":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","name","syncWithMandate","types","member","color","category","idPath","namePath","activeTypeCounters","totalActiveContacts"],"additionalProperties":false}}},"required":["count","departments"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/vouchers/{voucherId}":{"get":{"operationId":"crm-vouchers-getVoucher","summary":"Get voucher","description":"Returns a specific voucher with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### voucher.read","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"type":"string","minLength":10,"maxLength":10},"contact":{"type":"object","properties":{"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contact","name"],"additionalProperties":false},"contract":{"anyOf":[{"type":"object","properties":{"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contract","name"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","name","amount","amountPercentage","interval","startAt","endAt","code","contact","contract"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-vouchers-updateVoucher","summary":"Update a voucher","description":"Updates a voucher <br /><br /> \n### Required permissions:\n* #### voucher.edit","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"startAt":{"type":"string"}},"required":["amount","amountPercentage","endAt","interval","name","startAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-vouchers-deleteVoucher","summary":"Delete a voucher","description":"\n### Required permissions:\n* #### mandate.read\n* #### voucher.remove","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/vouchers/list":{"post":{"operationId":"crm-vouchers-listVouchers","summary":"List vouchers","description":"Returns a list of vouchers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### voucher.read","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","amount","amountPercentage","interval","startAt","endAt","code","contact.contact","contact.name","contract.contract","contract.name"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"contactId":{"type":"string"},"view":{"type":"string","enum":["valid","expired","unused","used"]},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"vouchers":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"startAt":{"type":"string"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"type":"string","minLength":10,"maxLength":10},"contact":{"type":"object","properties":{"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contact","name"],"additionalProperties":false},"contract":{"anyOf":[{"type":"object","properties":{"contract":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["contract","name"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","name","amount","amountPercentage","interval","startAt","endAt","code","contact","contract"],"additionalProperties":false}}},"required":["count","vouchers"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/vouchers/{voucherId}/usages":{"get":{"operationId":"crm-vouchers-getVoucherUsages","summary":"Get voucher usages","description":"Returns the usages of a specific voucher <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### voucher.read","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"usages":{"type":"array","items":{"type":"object","properties":{"usagePeriod":{"type":"string"},"usageDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"target":{"type":"object","properties":{"type":{"type":"string","enum":["contact","contract"]},"id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["type","id","name"],"additionalProperties":false},"receiptId":{"anyOf":[{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string","const":"usedWithoutReceipt"}]},{"type":"null"}]}},"required":["usagePeriod","usageDate","amount","target","receiptId"],"additionalProperties":false}}},"required":["usages"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/vouchers":{"post":{"operationId":"crm-vouchers-createVoucher","summary":"Update a voucher","description":"Updates a voucher <br /><br /> \n### Required permissions:\n* #### voucher.insert","tags":["crm / vouchers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"startAt":{"type":"string"},"contactId":{"type":"string"}},"required":["amount","amountPercentage","endAt","interval","name","startAt","contactId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/vouchers/templates":{"post":{"operationId":"crm-vouchers-templates-createVoucherTemplate","summary":"Create a voucher template","description":"\n### Required permissions:\n* #### voucherTemplate.insert","tags":["crm / vouchers / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"description":{"type":"string","maxLength":140},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"validFrom":{"anyOf":[{"type":"string"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["amount","amountPercentage","description","interval","name","validFrom","validTo"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/vouchers/templates/{voucherTemplateId}":{"post":{"operationId":"crm-vouchers-templates-updateVoucherTemplate","summary":"Update a voucher template","description":"Updates a voucher template <br /><br /> \n### Required permissions:\n* #### voucherTemplate.edit","tags":["crm / vouchers / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherTemplateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"description":{"type":"string","maxLength":140},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":64},"validFrom":{"anyOf":[{"type":"string"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["amount","amountPercentage","description","interval","name","validFrom","validTo"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-vouchers-templates-deleteVoucherTemplate","summary":"Delete a voucher template","description":"\n### Required permissions:\n* #### voucherTemplate.remove","tags":["crm / vouchers / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"get":{"operationId":"crm-vouchers-templates-getVoucherTemplate","summary":"Get voucher template","description":"Returns a specific voucher template with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### voucherTemplate.read","tags":["crm / vouchers / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"voucherTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":140},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"validFrom":{"anyOf":[{"type":"string"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","name","description","amount","amountPercentage","interval","validFrom","validTo"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/crm/vouchers/templates/list":{"post":{"operationId":"crm-vouchers-templates-listVoucherTemplates","summary":"List voucher templates","description":"Returns a list of voucher templates for a given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### voucherTemplate.read","tags":["crm / vouchers / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","name","description","amount","amountPercentage","interval","validFrom","validTo"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"voucherTemplates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":140},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"amountPercentage":{"type":"boolean"},"interval":{"anyOf":[{"type":"string","enum":["month","quarter","halfYear","year"]},{"type":"null"}]},"validFrom":{"anyOf":[{"type":"string"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","name","description","amount","amountPercentage","interval","validFrom","validTo"],"additionalProperties":false}}},"required":["count","voucherTemplates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/sample":{"get":{"operationId":"crm-communication-templates-getMessageTemplateTemplateContentsSample","summary":"Get message template contents sample","description":"Returns the sample template for a message template <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.read","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"type","schema":{"type":"string","enum":["email","letter"]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"sample":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["sample"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/list":{"post":{"operationId":"crm-communication-templates-listMessageTemplates","summary":"List messageTemplates","description":"Gets a list of messageTemplates <br /><br /> \n### Required permissions:\n* #### dispatchDocument.read","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","scope","type","draft","name","description","contactType","templateContentsDefault","allowedPlaces","email.subject","email.previewText","email.attachments","letter.sendColorPostal","letter.sendWithCheaperMethod","createdAt"]},{"type":"string","pattern":"^templateContents\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^templateAttachment\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"allowedPlaces":{"type":"array","items":{"type":"string","enum":["mailings","messages","automations"]}},"searchTerm":{"type":"string"},"type":{"type":"string","enum":["email","letter"]},"contactTypes":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"draft":{"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"onlySelectable":{"type":"boolean"}},"required":["allowedPlaces"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"messageTemplates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"scope":{"type":"string","enum":["local","global"]},"type":{"type":"string","enum":["email","letter"]},"draft":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateContentsDefault":{"type":"boolean"},"allowedPlaces":{"type":"array","items":{"type":"string","enum":["mailings","messages","automations"]}},"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]}},"required":["subject","previewText","attachments"],"additionalProperties":false},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","scope","type","draft","name","description","contactType","templateContents","templateAttachment","templateContentsDefault","allowedPlaces","email","letter"],"additionalProperties":false}}},"required":["count","messageTemplates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/{messageTemplateId}":{"get":{"operationId":"crm-communication-templates-getMessageTemplate","summary":"Get message template","description":"Returns a specific message template by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.read","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"scope":{"type":"string","enum":["local","global"]},"type":{"type":"string","enum":["email","letter"]},"draft":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateContentsDefault":{"type":"boolean"},"allowedPlaces":{"type":"array","items":{"type":"string","enum":["mailings","messages","automations"]}},"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"attachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]}},"required":["subject","previewText","attachments"],"additionalProperties":false},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","scope","type","draft","name","description","contactType","templateContents","templateAttachment","templateContentsDefault","allowedPlaces","email","letter"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"crm-communication-templates-updateMessageTemplate","summary":"Update message template","description":"Updates a message template <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"scope":{"type":"string","enum":["local","global"]},"allowedPlaces":{"type":"array","items":{"type":"string","enum":["mailings","messages","automations"]}},"type":{"type":"string","enum":["email","letter"]},"draft":{"type":"boolean"},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"templateContentsDefault":{"type":"boolean"},"templateContents":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["subject","previewText"]},{"type":"null"}]}},"required":["name","description","scope","allowedPlaces","type","draft","contactType","letter","templateAttachment","templateContentsDefault","templateContents","email"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"crm-communication-templates-deleteMessageTemplate","summary":"Delete message template","description":"Deletes a specific message template by id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.remove","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/{messageTemplateId}/preview":{"post":{"operationId":"crm-communication-templates-getMessageTemplatePreview","summary":"Get message template preview","description":"Returns the preview contents of the messageTemplate document for a specific messageTemplate for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.read","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"templateContents":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"type":{"type":"string","enum":["email","letter"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"document":{"anyOf":[{"type":"string"},{"type":"null"}]},"width":{"type":"number","minimum":0},"pages":{"type":"number","minimum":0}},"required":["document"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates":{"post":{"operationId":"crm-communication-templates-createMessageTemplate","summary":"Create message template","description":"Creates a new message template <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"type":{"type":"string","enum":["email","letter"]},"templateContentsDefault":{"type":"boolean"},"templateContents":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"email":{"anyOf":[{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":998},"previewText":{"type":"string","maxLength":150},"attachments":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}}},"required":["subject","previewText"]},{"type":"null"}]},"scope":{"anyOf":[{"type":"string","enum":["local","global"]},{"type":"null"}]},"allowedPlaces":{"anyOf":[{"type":"array","items":{"type":"string","enum":["mailings","messages","automations"]}},{"type":"null"}]},"draft":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"contactType":{"anyOf":[{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]},{"type":"null"}]},"letter":{"anyOf":[{"type":"object","properties":{"sendColorPostal":{"type":"boolean"},"sendWithCheaperMethod":{"type":"boolean"}},"required":["sendColorPostal","sendWithCheaperMethod"]},{"type":"null"}]},"templateAttachment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"copyOrgEmailTemplateContents":{"default":false,"type":"boolean"}},"required":["name","description","type","templateContentsDefault","templateContents","email","scope","allowedPlaces","draft","contactType","letter","templateAttachment"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/{messageTemplateId}/details":{"post":{"operationId":"crm-communication-templates-updateMessageTemplateDetails","summary":"Update message template details","description":"Updates a message template details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"type":{"type":"string","enum":["email","letter"]}},"required":["name","description","type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/crm/messageTemplates/{messageTemplateId}/copyAttachments":{"post":{"operationId":"crm-communication-templates-copyMessageTemplateAttachments","summary":"Copy message template attachments","description":"Copies the attachments from a message template to tmp folder <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### dispatchDocument.insert","tags":["crm / messageTemplates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"messageTemplateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"mailAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false}}},"required":["mailAttachments"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/tags/list":{"post":{"operationId":"oldContacts-listOldTags","summary":"Returns a list of contact tags","description":"\n### Required permissions:\n* #### contactTag.read","tags":["oldContacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","tag","tagNormalized","color"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"includeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"default":"","type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"tag":{"type":"string","minLength":1},"tagNormalized":{"type":"string","minLength":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-F]{6}$"},{"type":"null"}]}},"required":["_id","tag","tagNormalized"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/synchronizationStatus":{"get":{"operationId":"oldContacts-getOldSynchronizationStatus","summary":"Returns the synchronization status of all contacts","description":"\n### Required permissions:\n* #### contact.read","tags":["oldContacts / tags"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"synchronization","schema":{"type":"string","minLength":1},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"synchronized":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed":{"type":"integer","minimum":0,"maximum":9007199254740991},"activated":{"type":"integer","minimum":0,"maximum":9007199254740991},"ignored":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["synchronized","failed","removed","activated","ignored","total"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/import":{"post":{"operationId":"oldContacts-importOldContacts","summary":"Imports multiple contacts and adds them to the provided organization.","description":"If a mandate is not provided, debtors will not be automatically created for contacts with billing information. <br /><br /> \n### Required permissions:\n* #### contact.insert","tags":["oldContacts / contact"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"contacts":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"address":{"type":"object","properties":{"street":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"details":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"zip":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"city":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"careOf":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"letterAddress":{"type":"string"}},"required":["country","letterAddress"]},"alternateContacts":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["description","contact"]}},"communication":{"type":"object","properties":{"email":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","const":""}]},{"type":"null"}]},"mobilePhone":{"anyOf":[{"type":"string"},{"type":"null"}]},"regularPhone":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultSendMethod":{"anyOf":[{"type":"string","enum":["none","letter","email","mobilePhone"]},{"type":"null"}]},"noMailing":{"anyOf":[{"type":"boolean"},{"type":"null"}]}}},"custom":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string"},"tixxCustomerNo":{"type":"string"},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string"},"regularPhoneId":{"type":"string"}},"required":["mobilePhoneId","regularPhoneId"]}},"required":["tixxId","tixxCustomerNo","communication"]},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":10}},"notes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string","minLength":0},"noteCreatedAt":{"type":"string"},"noteCreatedBy":{"type":"string"},"noteUpdatedAt":{"type":"string"},"noteUpdatedBy":{"type":"string"},"followUpAt":{"type":"string"},"followUpBy":{"type":"string"},"content":{"type":"string"}},"required":["noteId","noteCreatedAt","noteCreatedBy","noteUpdatedAt","noteUpdatedBy","followUpAt","followUpBy","content"]}},"personal":{"type":"object","properties":{"avatar":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"type":{"anyOf":[{"type":"string","enum":["malePerson","femalePerson","otherPerson","business","club","association","otherOrganisation"]},{"type":"null"}]},"isPerson":{"type":"boolean"},"isOrganisation":{"type":"boolean"},"name":{"type":"string"},"humanName":{"type":"string"},"humanNameShort":{"type":"string"},"addressName":{"type":"string"},"greetings":{"type":"string"},"salutation":{"type":"string"},"personTitle":{"type":"string"},"personFirstName":{"type":"string"},"personLastName":{"type":"string"},"organisationName":{"type":"string"},"personBirthday":{"anyOf":[{"type":"string"},{"type":"null"}]},"personBirthdayOfYear":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"personYearOfBirth":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"personAge":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["avatar","type","isPerson","isOrganisation","name","humanName","humanNameShort","addressName","greetings","salutation","personTitle","personFirstName","personLastName","organisationName","personBirthday","personBirthdayOfYear","personYearOfBirth","personAge"]},"portalSync":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"mandate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"billing":{"type":"object","properties":{"billingMethod":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","swissQRBill","onlinePayment","cashPayment"]},{"type":"null"}]},"invoiceSendMethod":{"anyOf":[{"type":"string","enum":["letter","email","mobilePhone","doNotSend"]},{"type":"null"}]},"sepaAccountOwner":{"type":"string"},"sepaBIC":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"sepaIBAN":{"anyOf":[{"type":"string","format":"iban"},{"type":"string","const":""}]},"sepaMandateId":{"type":"string","maxLength":35},"sepaMandateSignatureDate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["billingMethod","sepaAccountOwner","sepaBIC","sepaIBAN","sepaMandateId","sepaMandateSignatureDate"]}},"required":["address","alternateContacts","communication","custom","eventim","groups","notes","personal","portalSync","tags","billing"]}},"enforceDebtor":{"default":false,"type":"boolean"},"useExistingDebtor":{"default":false,"type":"boolean"}},"required":["contacts"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["ids"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/{contactId}/debtor":{"post":{"operationId":"oldContacts-createOldContactDebtor","summary":"Creates a debtor for the specified contact and links it","description":"\n### Required permissions:\n* #### contact.edit\n* #### debtor.insert","tags":["oldContacts / contact"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"useExistingDebtor":{"default":false,"type":"boolean"}},"required":["mandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/{contactId}/debtor/{debtorId}":{"post":{"operationId":"oldContacts-updateOldContactDebtor","summary":"Creates a debtor for the specified contact and links it.","description":"Provide \"remove\" as \"debtorId\" to simply cleanup the debtor from the contact <br /><br /> \n### Required permissions:\n* #### contact.edit\n* #### debtor.read","tags":["oldContacts / contact"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"anyOf":[{"type":"string"},{"type":"string","const":"remove"}]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/{contactId}":{"delete":{"operationId":"oldContacts-removeOldContact","summary":"Removes the specified contact","description":"If the query parameter \"force\" is set to true (not recommended) the contact is deleted even if it is payer of others. <br /><br /> \n### Required permissions:\n* #### contact.edit","tags":["oldContacts / contact"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"query","name":"force","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"group","schema":{"default":"","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/{contactId}/triggerWebhooks":{"post":{"operationId":"oldContacts-triggerOldContactWebhooks","summary":"Trigger all webhooks for an existent contact","description":"\n### Permissions depending on event:\n* #### contact.<insert | edit | remove>\n","tags":["oldContacts / contact"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","enum":["created","updated","deleted"]}},"required":["event"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldMembers/import":{"post":{"operationId":"oldContacts-importOldMembers","summary":"Imports multiple members and adds them to the provided organization.","description":"If a mandate is not provided, debtors will not be automatically created for members with billing information. <br /><br /> \n### Required permissions:\n* #### contact.insert","tags":["oldContacts / member"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"contacts":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"address":{"type":"object","properties":{"street":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"details":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"zip":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"city":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"careOf":{"anyOf":[{"type":"string","maxLength":45},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"letterAddress":{"type":"string"}},"required":["country","letterAddress"]},"alternateContacts":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"contact":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["description","contact"]}},"communication":{"type":"object","properties":{"email":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","const":""}]},{"type":"null"}]},"mobilePhone":{"anyOf":[{"type":"string"},{"type":"null"}]},"regularPhone":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultSendMethod":{"anyOf":[{"type":"string","enum":["none","letter","email","mobilePhone"]},{"type":"null"}]},"noMailing":{"anyOf":[{"type":"boolean"},{"type":"null"}]}}},"custom":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"eventim":{"type":"object","properties":{"tixxId":{"type":"string"},"tixxCustomerNo":{"type":"string"},"communication":{"type":"object","properties":{"mobilePhoneId":{"type":"string"},"regularPhoneId":{"type":"string"}},"required":["mobilePhoneId","regularPhoneId"]}},"required":["tixxId","tixxCustomerNo","communication"]},"groups":{"type":"array","items":{"type":"string","minLength":1,"maxLength":10}},"notes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string","minLength":0},"noteCreatedAt":{"type":"string"},"noteCreatedBy":{"type":"string"},"noteUpdatedAt":{"type":"string"},"noteUpdatedBy":{"type":"string"},"followUpAt":{"type":"string"},"followUpBy":{"type":"string"},"content":{"type":"string"}},"required":["noteId","noteCreatedAt","noteCreatedBy","noteUpdatedAt","noteUpdatedBy","followUpAt","followUpBy","content"]}},"personal":{"type":"object","properties":{"avatar":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"type":{"anyOf":[{"type":"string","enum":["malePerson","femalePerson","otherPerson","business","club","association","otherOrganisation"]},{"type":"null"}]},"isPerson":{"type":"boolean"},"isOrganisation":{"type":"boolean"},"name":{"type":"string"},"humanName":{"type":"string"},"humanNameShort":{"type":"string"},"addressName":{"type":"string"},"greetings":{"type":"string"},"salutation":{"type":"string"},"personTitle":{"type":"string"},"personFirstName":{"type":"string"},"personLastName":{"type":"string"},"organisationName":{"type":"string"},"personBirthday":{"anyOf":[{"type":"string"},{"type":"null"}]},"personBirthdayOfYear":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"personYearOfBirth":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"personAge":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["avatar","type","isPerson","isOrganisation","name","humanName","humanNameShort","addressName","greetings","salutation","personTitle","personFirstName","personLastName","organisationName","personBirthday","personBirthdayOfYear","personYearOfBirth","personAge"]},"portalSync":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"mandate":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"billing":{"type":"object","properties":{"billingMethod":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","swissQRBill","onlinePayment","cashPayment"]},{"type":"null"}]},"invoiceSendMethod":{"anyOf":[{"type":"string","enum":["letter","email","mobilePhone","doNotSend"]},{"type":"null"}]},"sepaAccountOwner":{"type":"string"},"sepaBIC":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"sepaIBAN":{"anyOf":[{"type":"string","format":"iban"},{"type":"string","const":""}]},"sepaMandateId":{"type":"string","maxLength":35},"sepaMandateSignatureDate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["billingMethod","sepaAccountOwner","sepaBIC","sepaIBAN","sepaMandateId","sepaMandateSignatureDate"]},"membership":{"type":"object","properties":{"number":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"numberSort":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"enterDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaveDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"terminationDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"sections":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"sectionEntries":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"enterAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaveAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"section":{"type":"string","minLength":1}},"required":["enterAt","leaveAt","section"]}},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["hasLeft","willLeave","isActive","willEnter"]},{"type":"null"}]}},"required":["number"]}},"required":["address","alternateContacts","communication","custom","eventim","groups","notes","personal","portalSync","tags","billing","membership"]}},"enforceDebtor":{"default":false,"type":"boolean"},"useExistingDebtor":{"default":false,"type":"boolean"}},"required":["contacts"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["ids"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldMembers/{contactId}/debtor":{"post":{"operationId":"oldContacts-createOldMemberDebtor","summary":"Creates a debtor for the specified member and links it","description":"\n### Required permissions:\n* #### contact.edit\n* #### debtor.insert","tags":["oldContacts / member"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"useExistingDebtor":{"default":false,"type":"boolean"}},"required":["mandateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldMembers/{contactId}/debtor/{debtorId}":{"post":{"operationId":"oldContacts-updateOldMemberDebtor","summary":"Creates a debtor for the specified member and links it.","description":"Provide \"remove\" as \"debtorId\" to simply cleanup the debtor from the member <br /><br /> \n### Required permissions:\n* #### contact.edit\n* #### debtor.read","tags":["oldContacts / member"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"anyOf":[{"type":"string"},{"type":"string","const":"remove"}]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldMembers/{contactId}":{"delete":{"operationId":"oldContacts-removeOldMember","summary":"Removes the specified member","description":"If the query parameter \"force\" is set to true (not recommended) the member is deleted even if it is payer of others. <br /><br /> \n### Required permissions:\n* #### contact.edit","tags":["oldContacts / member"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true},{"in":"query","name":"force","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"group","schema":{"default":"","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldMembers/{contactId}/triggerWebhooks":{"post":{"operationId":"oldContacts-triggerOldMemberWebhooks","summary":"Trigger all webhooks for an existent member","description":"\n### Permissions depending on event:\n* #### contact.<insert | edit | remove>\n","tags":["oldContacts / member"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","enum":["created","updated","deleted"]}},"required":["event"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/exportContacts":{"post":{"operationId":"oldContacts-exportOldContacts","summary":"Exports the list of conctacts and send to email","description":"\n### Required permissions:\n* #### contact.read","tags":["oldContacts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"},"fileFormat":{"type":"string","enum":["csv","xlsx"]},"contactType":{"type":"string","enum":["member","contact"]},"columns":{"type":"array","items":{"type":"string","minLength":1}},"filters":{"type":"object","properties":{"activeSegmentFilter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1},"compare":{"type":"string","enum":["list.contains","list.notContains","list.empty","list.notEmpty","string.equals","string.notEquals","string.contains","string.startsWith","string.endsWith","string.notContains","string.exists","string.notExists","number.equals","number.notEquals","number.greaterThan","number.lessThan","number.exists","number.notExists","date.exactlyDaysAgo","date.moreThanDaysAgo","date.lessThanDaysAgo","date.moment","date.after","date.before","date.equals","date.exists","date.notExists","bool.isTrue","bool.isFalse","bool.exists","bool.notExists"]},"value":{}},"required":["field","compare"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"membershipSectionFilter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1},"compare":{"type":"string","enum":["list.contains","list.notContains","list.empty","list.notEmpty","string.equals","string.notEquals","string.contains","string.startsWith","string.endsWith","string.notContains","string.exists","string.notExists","number.equals","number.notEquals","number.greaterThan","number.lessThan","number.exists","number.notExists","date.exactlyDaysAgo","date.moreThanDaysAgo","date.lessThanDaysAgo","date.moment","date.after","date.before","date.equals","date.exists","date.notExists","bool.isTrue","bool.isFalse","bool.exists","bool.notExists"]},"value":{}},"required":["field","compare"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"membershipSections":{"type":"array","items":{"type":"string"}},"searchMode":{"anyOf":[{"type":"string","enum":["search","name","memberNumber","tag"]},{"type":"null"}]},"searchTerm":{"default":"","type":"string"},"tags":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}}},"required":["searchMode"]},"sort":{},"selection":{"type":"array","items":{"type":"string"}}},"required":["userId","fileFormat","contactType","columns"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/segments/list":{"post":{"operationId":"oldContacts-oldSegments-listOldSegments","summary":"Returns a list of contact segments","description":"\n### Required permissions:\n* #### contactSegment.read","tags":["oldContacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["type","key","name","hint","sortOrder"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"type":{"type":"string","enum":["member","contact"]},"searchTerm":{"type":"string"},"visibility":{"default":"organization","type":"string","enum":["organization","user","all"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"segments":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["member","contact"]},"key":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":80},"filter":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1},"compare":{"type":"string","enum":["list.contains","list.notContains","list.empty","list.notEmpty","string.equals","string.notEquals","string.contains","string.startsWith","string.endsWith","string.notContains","string.exists","string.notExists","number.equals","number.notEquals","number.greaterThan","number.lessThan","number.exists","number.notExists","date.exactlyDaysAgo","date.moreThanDaysAgo","date.lessThanDaysAgo","date.moment","date.after","date.before","date.equals","date.exists","date.notExists","bool.isTrue","bool.isFalse","bool.exists","bool.notExists"]},"value":{}},"required":["field","compare"],"additionalProperties":false}}},"required":["operator","fields"],"additionalProperties":false}}},"required":["operator","groups"],"additionalProperties":false},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["_id","type","key","name","filter","sortOrder"],"additionalProperties":false}}},"required":["count","segments"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/segments/triggerEvaluation":{"post":{"operationId":"oldContacts-oldSegments-triggerEvaluateOldSegment","summary":"Trigger the evaluation funcation for an specific segment","description":"\n### Required permissions:\n* #### contact.edit","tags":["oldContacts / segments"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"segmentKey":{"type":"string"}},"required":["segmentKey"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/oldContacts/membershipSections/list":{"post":{"operationId":"oldContacts-oldMembershipSections-listOldMembershipSections","summary":"Returns a list of contact membership sections","description":"\n### Required permissions:\n* #### contactMembershipSection.read","tags":["oldContacts / membershipSections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","color","section","sectionNormalized"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeMembershipSectionSections":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"includeMembershipSectionSections":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"default":"","type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"sections":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-F]{6}$"},{"type":"null"}]},"section":{"type":"string","minLength":1},"sectionNormalized":{"type":"string","minLength":1}},"required":["_id","section","sectionNormalized"],"additionalProperties":false}}},"required":["count","sections"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/costCenters":{"post":{"operationId":"finance-updateCostCenters","summary":"Update cost centers","description":"Updates the cost centers of a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.edit\n* #### costCenter.edit","tags":["finance"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"costCenters":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"number":{"type":"number","minimum":1,"maximum":99999999},"label":{"type":"string","minLength":1,"maxLength":64},"bookable":{"type":"boolean"}},"required":["number","label","bookable"]}}},"required":["costCenters"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/import/datev":{"post":{"operationId":"finance-accounts-importDatevDebtorsCreditors","summary":"Import debt/cred from Datev","description":"Imports debtors or creditors from a Datev \"Debitoren-/Kreditoren\" CSV file for given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.insert\n* #### debtor.edit\n* #### creditor.insert\n* #### creditor.edit","tags":["finance / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csvString":{"type":"string"}},"required":["csvString"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"invalidRows":{"type":"array","items":{"type":"object","properties":{"row":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cell":{"type":"string"},"value":{"type":"string"}},"required":["row","cell","value"],"additionalProperties":false}},"success":{"type":"boolean"},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991},"added":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["invalidRows","success","updated","added"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/export/datev":{"post":{"operationId":"finance-accounts-exportDatevDebtorsCreditors","summary":"Export debt/cred to Datev","description":"Exports debtors or creditors to a Datev \"Debitoren-/Kreditoren\" CSV file for given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n### Permissions depending on type:\n* #### debtor.read\n* #### creditor.read\n","tags":["finance / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["debtors","creditors"]}},"required":["type"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"debtors":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creditors":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"csv":{"anyOf":[{"type":"array","items":{"type":"array","items":{"type":"string"}}},{"type":"string"}]},"fileName":{"type":"string"}},"required":["debtors","creditors","csv","fileName"],"additionalProperties":false},{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors":{"post":{"operationId":"finance-accounts-creditors-createCreditor","summary":"Create creditor","description":"Creates a new creditor for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.insert","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"details":{"default":"","type":"string","maxLength":255},"supplierNumber":{"type":"string"},"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["cash","creditTransfer"]},{"type":"null"}]},"creditTransfer":{"anyOf":[{"type":"object","properties":{"accountHolderName":{"type":"string","maxLength":80},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]}},"required":["accountHolderName","iban","bic"]},{"type":"null"}]}},"required":["type","name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"account":{"type":"integer","minimum":1,"maximum":999999999}},"required":["_id","account"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/list":{"post":{"operationId":"finance-accounts-creditors-listCreditors","summary":"List creditors","description":"Returns a list of creditors for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.read","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","type","account","name","nameSort","contact","details","paymentMethodType","creditTransfer.accountHolderName","creditTransfer.iban","creditTransfer.bic","totalOwedToCreditor","totalOwedFromCreditor","supplierNumber","linkedContact._id","linkedContact.types","linkedContact.name","linkedContact.oldContactId","linkedContact.image.resource","linkedContact.image.fileName","linkedContact.image.contentType","linkedContact.image.fileSizeBytes","linkedContact.user.actor.name","linkedContact.user.actor.type","linkedContact.user.actor.userId","linkedContact.user.actor.image.resource","linkedContact.user.actor.image.fileName","linkedContact.user.actor.image.contentType","linkedContact.user.actor.image.fileSizeBytes","linkedContacts"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"creditorName":{"type":"string"},"contacts":{"default":"include","type":"string","enum":["include","exclude","only"]},"creditorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"excludeCreditorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"creditors":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"type":{"type":"string","enum":["business","person"]},"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string","minLength":1,"maxLength":81},"nameSort":{"type":"string","minLength":1,"maxLength":81},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"details":{"type":"string","maxLength":255},"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["cash","creditTransfer"]},{"type":"null"}]},"creditTransfer":{"default":null,"anyOf":[{"type":"object","properties":{"accountHolderName":{"type":"string","maxLength":80},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]}},"required":["accountHolderName","iban","bic"],"additionalProperties":false},{"type":"null"}]},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"supplierNumber":{"type":"string","maxLength":32},"linkedContact":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false},"linkedContacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false}}},"required":["_id","mandates","type","account","name","nameSort","contact","details","paymentMethodType","creditTransfer","totalOwedToCreditor","totalOwedFromCreditor","supplierNumber"],"additionalProperties":false}}},"required":["count","creditors"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/export":{"post":{"operationId":"finance-accounts-creditors-exportCreditors","summary":"Export creditors","description":"Exports an excel or csv list of creditors <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.read","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"creditorName":{"type":"string"},"contacts":{"default":"include","type":"string","enum":["include","exclude","only"]},"creditorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"excludeCreditorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","type","account","name","nameSort","contact","details","paymentMethodType","creditTransfer.accountHolderName","creditTransfer.iban","creditTransfer.bic","totalOwedToCreditor","totalOwedFromCreditor","supplierNumber","linkedContact._id","linkedContact.types","linkedContact.name","linkedContact.oldContactId","linkedContact.image.resource","linkedContact.image.fileName","linkedContact.image.contentType","linkedContact.image.fileSizeBytes","linkedContact.user.actor.name","linkedContact.user.actor.type","linkedContact.user.actor.userId","linkedContact.user.actor.image.resource","linkedContact.user.actor.image.fileName","linkedContact.user.actor.image.contentType","linkedContact.user.actor.image.fileSizeBytes","linkedContacts"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/{creditorIdOrAccount}":{"get":{"operationId":"finance-accounts-creditors-getCreditor","summary":"Get creditor","description":"Returns a specific creditor by its id or account number with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"creditorIdOrAccount","schema":{"type":"string"},"required":true},{"in":"query","name":"includeLinkedContact","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"includeLinkedContacts","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"type":{"type":"string","enum":["business","person"]},"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string","minLength":1,"maxLength":81},"nameSort":{"type":"string","minLength":1,"maxLength":81},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"details":{"type":"string","maxLength":255},"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["cash","creditTransfer"]},{"type":"null"}]},"creditTransfer":{"default":null,"anyOf":[{"type":"object","properties":{"accountHolderName":{"type":"string","maxLength":80},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]}},"required":["accountHolderName","iban","bic"],"additionalProperties":false},{"type":"null"}]},"totalOwedToCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedFromCreditor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"supplierNumber":{"type":"string","maxLength":32},"linkedContact":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false},"linkedContacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false}}},"required":["_id","mandates","type","account","name","nameSort","contact","details","paymentMethodType","creditTransfer","totalOwedToCreditor","totalOwedFromCreditor","supplierNumber"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/{creditorId}/history/list":{"post":{"operationId":"finance-accounts-creditors-listHistory","summary":"List history","description":"Returns persisted history items for a given creditor <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.read","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"creditorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"default":20,"type":"integer","minimum":1,"maximum":50},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"action":{"type":"string","enum":["created","updated","added","removed","deleted"]},"groups":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"properties":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"from":{},"to":{}},"required":["path","from","to"],"additionalProperties":false}}},"required":["path"],"additionalProperties":false}}},"required":["_id","timestamp","actor","reviewedBy","action"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/{creditorId}/details":{"post":{"operationId":"finance-accounts-creditors-updateCreditorDetails","summary":"Update creditor details","description":"Updates details of a specific creditor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.edit","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"creditorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"details":{"default":"","type":"string","maxLength":255},"supplierNumber":{"default":"","type":"string","maxLength":32}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/{creditorId}/payment":{"post":{"operationId":"finance-accounts-creditors-updateCreditorPayment","summary":"Update creditor payment","description":"Updates payment settings of a specific creditor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.edit","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"creditorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["cash","creditTransfer"]},{"type":"null"}]},"creditTransfer":{"anyOf":[{"type":"object","properties":{"accountHolderName":{"type":"string","maxLength":80},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]}},"required":["accountHolderName","iban","bic"]},{"type":"null"}]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/creditors/{creditorId}":{"delete":{"operationId":"finance-accounts-creditors-deleteCreditor","summary":"Delete creditor","description":"Deletes a specific creditor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### creditor.remove","tags":["finance / accounts / creditors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"creditorId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors":{"post":{"operationId":"finance-accounts-debtors-createDebtor","summary":"Create debtor","description":"Creates a new debtor for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.insert","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"details":{"default":"","type":"string","maxLength":255},"address":{"default":null,"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"receiptSendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress"]},{"type":"null"}]},"onlinePayment":{"anyOf":[{"type":"object","properties":{"providers":{"minItems":1,"type":"array","items":{"type":"string","enum":["stripe","paypal"]}},"linkToken":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"linkTokenExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentMethods":{"type":"array","items":{"type":"object","properties":{"paymentMethod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"default":{"type":"boolean"}},"required":["paymentMethod","default"]}}},"required":["providers","linkToken","linkTokenExpiresAt","paymentMethods"]},{"type":"null"}]},"disableAutomaticReminders":{"default":false,"type":"boolean"},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"account":{"type":"integer","minimum":1,"maximum":999999999}},"required":["_id","account"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/list":{"post":{"operationId":"finance-accounts-debtors-listDebtors","summary":"List debtors","description":"Returns a list of debtors for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.read","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","type","contact","account","name","nameSort","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","receiptSendMethod","details","paymentMethodType","sepaDirectDebitMandate.iban","sepaDirectDebitMandate.bic","sepaDirectDebitMandate.sepaMandateId","sepaDirectDebitMandate.sepaMandateSignatureDate","sepaDirectDebitMandate.accountHolderName","sepaDirectDebitMandate.accountHolderAddress.country","sepaDirectDebitMandate.accountHolderAddress.state","sepaDirectDebitMandate.accountHolderAddress.zip","sepaDirectDebitMandate.accountHolderAddress.city","sepaDirectDebitMandate.accountHolderAddress.addressLine","sepaDirectDebitMandate.accountHolderAddress.details1","sepaDirectDebitMandate.accountHolderAddress.details2","onlinePayment.providers","onlinePayment.linkToken","onlinePayment.linkTokenExpiresAt","onlinePayment.paymentMethods","blockedAt","blockedBy.name","blockedBy.type","blockedBy.userId","blockedBy.image.resource","blockedBy.image.fileName","blockedBy.image.contentType","blockedBy.image.fileSizeBytes","blockedBy.key","blockedNote","blockMode","disableAutomaticReminders","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit","supplierNumber","birthdate","linkedContacts"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"debtorName":{"type":"string"},"contacts":{"default":"include","type":"string","enum":["include","exclude","only"]},"debtorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"excludeDebtorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"debtors":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"type":{"type":"string","enum":["business","person"]},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string","minLength":1,"maxLength":81},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"details":{"type":"string","maxLength":255},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress"],"additionalProperties":false},{"type":"null"}]},"onlinePayment":{"anyOf":[{"type":"object","properties":{"providers":{"minItems":1,"type":"array","items":{"type":"string","enum":["stripe","paypal"]}},"linkToken":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"linkTokenExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentMethods":{"type":"array","items":{"type":"object","properties":{"paymentMethod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"default":{"type":"boolean"}},"required":["paymentMethod","default"],"additionalProperties":false}}},"required":["providers","linkToken","linkTokenExpiresAt","paymentMethods"],"additionalProperties":false},{"type":"null"}]},"blockedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"blockedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"blockedNote":{"anyOf":[{"type":"string","minLength":1,"maxLength":2000},{"type":"null"}]},"blockMode":{"anyOf":[{"type":"string","enum":["all","directDebit"]},{"type":"null"}]},"disableAutomaticReminders":{"type":"boolean"},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"supplierNumber":{"type":"string","maxLength":32},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"linkedContacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false}}},"required":["_id","mandates","type","contact","account","name","nameSort","address","email","receiptSendMethod","details","paymentMethodType","sepaDirectDebitMandate","onlinePayment","blockedAt","blockedBy","blockedNote","blockMode","disableAutomaticReminders","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit","supplierNumber","birthdate"],"additionalProperties":false}}},"required":["count","debtors"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/export":{"post":{"operationId":"finance-accounts-debtors-exportDebtors","summary":"Export debtors","description":"Exports an excel or csv list of debtors <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.read","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"debtorName":{"type":"string"},"contacts":{"default":"include","type":"string","enum":["include","exclude","only"]},"debtorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"excludeDebtorIdOrAccounts":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer","minimum":1,"maximum":999999999}]}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandates","type","contact","account","name","nameSort","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","receiptSendMethod","details","paymentMethodType","sepaDirectDebitMandate.iban","sepaDirectDebitMandate.bic","sepaDirectDebitMandate.sepaMandateId","sepaDirectDebitMandate.sepaMandateSignatureDate","sepaDirectDebitMandate.accountHolderName","sepaDirectDebitMandate.accountHolderAddress.country","sepaDirectDebitMandate.accountHolderAddress.state","sepaDirectDebitMandate.accountHolderAddress.zip","sepaDirectDebitMandate.accountHolderAddress.city","sepaDirectDebitMandate.accountHolderAddress.addressLine","sepaDirectDebitMandate.accountHolderAddress.details1","sepaDirectDebitMandate.accountHolderAddress.details2","onlinePayment.providers","onlinePayment.linkToken","onlinePayment.linkTokenExpiresAt","onlinePayment.paymentMethods","blockedAt","blockedBy.name","blockedBy.type","blockedBy.userId","blockedBy.image.resource","blockedBy.image.fileName","blockedBy.image.contentType","blockedBy.image.fileSizeBytes","blockedBy.key","blockedNote","blockMode","disableAutomaticReminders","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit","supplierNumber","birthdate","linkedContacts"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorIdOrAccount}":{"get":{"operationId":"finance-accounts-debtors-getDebtor","summary":"Get debtor","description":"Returns a specific debtor by its id or account number with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.read\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorIdOrAccount","schema":{"type":"string"},"required":true},{"in":"query","name":"includeLinkedContacts","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandates":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"type":{"type":"string","enum":["business","person"]},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string","minLength":1,"maxLength":81},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"details":{"type":"string","maxLength":255},"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress"],"additionalProperties":false},{"type":"null"}]},"onlinePayment":{"anyOf":[{"type":"object","properties":{"providers":{"minItems":1,"type":"array","items":{"type":"string","enum":["stripe","paypal"]}},"linkToken":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"linkTokenExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentMethods":{"type":"array","items":{"type":"object","properties":{"paymentMethod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"default":{"type":"boolean"}},"required":["paymentMethod","default"],"additionalProperties":false}}},"required":["providers","linkToken","linkTokenExpiresAt","paymentMethods"],"additionalProperties":false},{"type":"null"}]},"blockedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"blockedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"blockedNote":{"anyOf":[{"type":"string","minLength":1,"maxLength":2000},{"type":"null"}]},"blockMode":{"anyOf":[{"type":"string","enum":["all","directDebit"]},{"type":"null"}]},"disableAutomaticReminders":{"type":"boolean"},"totalOwedFromDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalOwedToDebtor":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"totalDeposit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"supplierNumber":{"type":"string","maxLength":32},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"linkedContacts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"types":{"type":"array","items":{"type":"string","enum":["member","address","customer","sponsor","contributor","employee","supplier"]}},"name":{"type":"string","minLength":1,"maxLength":80},"oldContactId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"type":"object","properties":{"actor":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["actor"],"additionalProperties":false}},"required":["_id","types","name","oldContactId","image","user"],"additionalProperties":false}}},"required":["_id","mandates","type","contact","account","name","nameSort","address","email","receiptSendMethod","details","paymentMethodType","sepaDirectDebitMandate","onlinePayment","blockedAt","blockedBy","blockedNote","blockMode","disableAutomaticReminders","totalOwedFromDebtor","totalOwedToDebtor","totalDeposit","supplierNumber","birthdate"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/details":{"post":{"operationId":"finance-accounts-debtors-updateDebtorDetails","summary":"Update debtor details","description":"Updates a specific debtor details by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"details":{"type":"string","maxLength":255},"supplierNumber":{"type":"string","maxLength":32},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","details","supplierNumber","birthdate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/billing":{"post":{"operationId":"finance-accounts-debtors-updateDebtorBilling","summary":"Update debtor billing","description":"Updates billing-related fields of a specific debtor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit\n### Permissions depending on contact type:\n* #### contact:member\n* #### contact:address\n* #### contact:customer\n* #### contact:sponsor\n* #### contact:contributor\n* #### contact:employee\n* #### contact:supplier\n","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"receiptSendMethod":{"type":"string","enum":["none","email","postal"]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"disableAutomaticReminders":{"type":"boolean"},"dataPropagationTargets":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"targetType":{"type":"string","const":"contact"},"targetId":{"type":"string"},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","phone","mobilePhone","address"]}},"required":["targetType","targetId","field"]},{"type":"object","properties":{"targetType":{"type":"string","const":"contactAlternativeCommunication"},"targetId":{"type":"string"},"alternativeCommunicationId":{"type":"string","minLength":8,"maxLength":24},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","phone","mobilePhone"]}},"required":["targetType","targetId","alternativeCommunicationId","field"]},{"type":"object","properties":{"targetType":{"type":"string","const":"debtor"},"targetId":{"type":"string"},"changeKey":{"type":"string"},"field":{"type":"string","enum":["email","address"]}},"required":["targetType","targetId","field"]}],"type":"object"}}},"required":["email","receiptSendMethod","address","disableAutomaticReminders"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/payment":{"post":{"operationId":"finance-accounts-debtors-updateDebtorPayment","summary":"Update debtor payment","description":"Updates payment-related fields of a specific debtor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paymentMethodType":{"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress"]},{"type":"null"}]},"onlinePayment":{"anyOf":[{"type":"object","properties":{"providers":{"type":"array","items":{"type":"string","enum":["stripe","paypal"]}}},"required":["providers"]},{"type":"null"}]}},"required":["paymentMethodType","sepaDirectDebitMandate","onlinePayment"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updatedReceipts":{"type":"integer","minimum":0,"maximum":9007199254740991},"onlinePayment":{"anyOf":[{"type":"object","properties":{"providers":{"minItems":1,"type":"array","items":{"type":"string","enum":["stripe","paypal"]}},"linkToken":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"linkTokenExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentMethods":{"type":"array","items":{"type":"object","properties":{"paymentMethod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"default":{"type":"boolean"}},"required":["paymentMethod","default"],"additionalProperties":false}}},"required":["providers","linkToken","linkTokenExpiresAt","paymentMethods"],"additionalProperties":false},{"type":"null"}]}},"required":["updatedReceipts","onlinePayment"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/fromContact":{"post":{"operationId":"finance-accounts-debtors-updateDebtorFromContact","summary":"Update debtor from contact","description":"Updates a specific debtor by its id from a contact with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"details":{"type":"string","maxLength":255},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","address","email","details","birthdate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/block":{"post":{"operationId":"finance-accounts-debtors-blockDebtor","summary":"Block debtor","description":"Blocks a specific debtor by its id with a note <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"anyOf":[{"type":"string","minLength":1,"maxLength":2000},{"type":"null"}]},"blockMode":{"type":"string","enum":["all","directDebit"]}},"required":["note","blockMode"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/unblock":{"post":{"operationId":"finance-accounts-debtors-unblockDebtor","summary":"Unblock debtor","description":"Unblocks a specific debtor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}":{"delete":{"operationId":"finance-accounts-debtors-deleteDebtor","summary":"Delete debtor","description":"Deletes a specific debtor by its id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.remove","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-accounts-debtors-updateDebtor","summary":"Update debtor","description":"Updates a specific debtor by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.edit","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"details":{"default":"","type":"string","maxLength":255},"address":{"default":null,"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"receiptSendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"paymentMethodType":{"default":null,"anyOf":[{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},{"type":"null"}]},"sepaDirectDebitMandate":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress"]},{"type":"null"}]},"disableAutomaticReminders":{"type":"boolean"},"supplierNumber":{"type":"string","maxLength":32},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updatedReceipts":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["updatedReceipts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounts/debtors/job":{"get":{"operationId":"finance-accounts-debtors-getDebtorsCreationJob","summary":"Get debtors jobs","description":"Returns the status of the debtors creation job for given organization <br /><br /> \n### Required permissions:\n* #### debtor.read","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"running":{"type":"boolean"}},"required":["running"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounts/debtors/{debtorId}/history/list":{"post":{"operationId":"finance-accounts-debtors-listHistory","summary":"List history","description":"Returns persisted history items for a given debtor <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### debtor.read","tags":["finance / accounts / debtors"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"debtorId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"default":20,"type":"integer","minimum":1,"maximum":50},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"actor":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"reviewedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"action":{"type":"string","enum":["created","updated","added","removed","deleted"]},"groups":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"properties":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"from":{},"to":{}},"required":["path","from","to"],"additionalProperties":false}}},"required":["path"],"additionalProperties":false}}},"required":["_id","timestamp","actor","reviewedBy","action"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/assets":{"post":{"operationId":"finance-assets-createAsset","summary":"Create fixed asset","description":"Creates a new fixed asset for given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### fixedAsset.insert","tags":["finance / accounting / assets"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"typeId":{"anyOf":[{"type":"string","const":"#"},{"type":"string","minLength":3,"maxLength":24}]},"name":{"type":"string","minLength":1,"maxLength":100},"inventoryNumber":{"type":"string","minLength":1,"maxLength":32},"purchaseDate":{"type":"string"},"purchaseNetAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"residualNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"period":{"type":"integer","minimum":0,"maximum":9007199254740991},"periodUnit":{"type":"string","enum":["years","months"]},"receipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["typeId","name","inventoryNumber","purchaseDate","purchaseNetAmount","residualNetAmount","debitAccount","creditAccount","costCenter1","costCenter2","period","periodUnit"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["_id","postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/assets/list":{"post":{"operationId":"finance-assets-listAssets","summary":"List assets","description":"Returns a list of fixed assets for given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### fixedAsset.read","tags":["finance / accounting / assets"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","typeId","name","receipt.receipt","receipt.receiptNumber","inventoryNumber","purchaseDate","purchaseNetAmount","residualNetAmount","carryingNetAmount","debitAccount","creditAccount","costCenterRegion","costCenter1","costCenter2","period","periodUnit","periodEndAt","lastDepreciatedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"typeId":{"type":"string"},"receiptNumber":{"type":"string"},"dateField":{"type":"string","enum":["purchaseDate","periodEndAt","lastDepreciatedAt"]},"fromDate":{"type":"string"},"toDate":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"assets":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeId":{"anyOf":[{"type":"string","const":"#"},{"type":"string","minLength":3,"maxLength":24}]},"name":{"type":"string","minLength":1,"maxLength":100},"receipt":{"anyOf":[{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30}},"required":["receipt","receiptNumber"],"additionalProperties":false},{"type":"null"}]},"inventoryNumber":{"type":"string","minLength":1,"maxLength":32},"purchaseDate":{"type":"string"},"purchaseNetAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"residualNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"carryingNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"costCenterRegion":{"anyOf":[{"type":"integer","minimum":1,"maximum":9},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"period":{"type":"integer","minimum":0,"maximum":9007199254740991},"periodUnit":{"type":"string","enum":["years","months"]},"periodEndAt":{"type":"string"},"lastDepreciatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","mandate","typeId","name","receipt","inventoryNumber","purchaseDate","purchaseNetAmount","residualNetAmount","carryingNetAmount","debitAccount","creditAccount","costCenterRegion","costCenter1","costCenter2","period","periodUnit","periodEndAt","lastDepreciatedAt"],"additionalProperties":false}}},"required":["count","assets"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/assets/{assetId}":{"get":{"operationId":"finance-assets-getAsset","summary":"Get fixed asset","description":"Returns a specific fixed asset by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### fixedAsset.read","tags":["finance / accounting / assets"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"assetId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"typeId":{"anyOf":[{"type":"string","const":"#"},{"type":"string","minLength":3,"maxLength":24}]},"name":{"type":"string","minLength":1,"maxLength":100},"receipt":{"anyOf":[{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30}},"required":["receipt","receiptNumber"],"additionalProperties":false},{"type":"null"}]},"inventoryNumber":{"type":"string","minLength":1,"maxLength":32},"purchaseDate":{"type":"string"},"purchaseNetAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"residualNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"carryingNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"costCenterRegion":{"anyOf":[{"type":"integer","minimum":1,"maximum":9},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"period":{"type":"integer","minimum":0,"maximum":9007199254740991},"periodUnit":{"type":"string","enum":["years","months"]},"periodEndAt":{"type":"string"},"lastDepreciatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","mandate","typeId","name","receipt","inventoryNumber","purchaseDate","purchaseNetAmount","residualNetAmount","carryingNetAmount","debitAccount","creditAccount","costCenterRegion","costCenter1","costCenter2","period","periodUnit","periodEndAt","lastDepreciatedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-assets-deleteAsset","summary":"Delete fixed asset","description":"Deletes a specific fixed asset by its id if not committed yet, or if forced reverses commited postings <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### fixedAsset.remove","tags":["finance / accounting / assets"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"assetId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/assets/depreciationTable":{"get":{"operationId":"finance-assets-getDepreciationTable","summary":"Get depreciation table","description":"Returns a depreciation table for given organization <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### fixedAsset.read","tags":["finance / accounting / assets"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"period":{"type":"number"},"periodUnit":{"type":"string","enum":["years","months"]},"canBeImmediate":{"type":"boolean","const":true}},"required":["id","name","period","periodUnit"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/expense":{"post":{"operationId":"finance-receipts-createExpenseReceipt","summary":"Create expense receipt","description":"Creates a new expense receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string","maxLength":30},"isNet":{"type":"boolean"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"accountName":{"default":"","type":"string"},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"default":"","type":"string","maxLength":200},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","amount"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"receiptFileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","format":"uri"}]},"receiptFileName":{"default":"","type":"string"},"payment":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["account","date","amount"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"electronic":{"default":false,"type":"boolean"}},"required":["account","receiptNumber","totalGrossAmount","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/expense/{receiptId}":{"post":{"operationId":"finance-receipts-updateExpenseReceipt","summary":"Update expense receipt","description":"Updates an existing expense receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string","maxLength":30},"isNet":{"type":"boolean"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"accountName":{"default":"","type":"string"},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"default":"","type":"string","maxLength":200},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","amount"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"receiptFileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","format":"uri"}]},"receiptFileName":{"default":"","type":"string"},"cashTransactionPayment":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["amount"]},"electronic":{"type":"boolean"}},"required":["account","receiptNumber","totalGrossAmount","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/revenue":{"post":{"operationId":"finance-receipts-createRevenueReceipt","summary":"Create revenue receipt","description":"Creates a new revenue receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string","maxLength":30},"isNet":{"type":"boolean"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"accountName":{"default":"","type":"string"},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"default":"","type":"string","maxLength":200},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","amount"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"receiptFileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","format":"uri"}]},"receiptFileName":{"default":"","type":"string"},"payment":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["account","date","amount"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"electronic":{"default":false,"type":"boolean"}},"required":["account","receiptNumber","totalGrossAmount","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/revenue/{receiptId}":{"post":{"operationId":"finance-receipts-updateRevenueReceipt","summary":"Update revenue receipt","description":"Updates an existing revenue receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string","maxLength":30},"isNet":{"type":"boolean"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"accountName":{"default":"","type":"string"},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"default":"","type":"string","maxLength":200},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["account","amount"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"receiptFileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","format":"uri"}]},"receiptFileName":{"default":"","type":"string"},"cashTransactionPayment":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["amount"]},"electronic":{"type":"boolean"}},"required":["account","receiptNumber","totalGrossAmount","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/invoice":{"post":{"operationId":"finance-receipts-createInvoiceReceipt","summary":"Create invoice receipt","description":"Creates a new invoice receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"confirmationReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"invoiceType":{"default":"invoice","type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"useDepositReceipts":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}]},"supplierNumber":{"default":"","type":"string","maxLength":32},"doNotSendReceipt":{"default":false,"type":"boolean"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"payment":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["account","date","amount"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"contributionIds":{"type":"array","items":{"type":"string"}},"electronic":{"default":false,"type":"boolean"}},"required":["draft","address","deliveryDateType","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/invoice/{receiptId}":{"post":{"operationId":"finance-receipts-updateInvoiceReceipt","summary":"Update invoice receipt","description":"Updates an existing invoice receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"confirmationReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":140},"refund":{"default":false,"type":"boolean"},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"invoiceType":{"default":"invoice","type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"paymentSepaCreditTransferId":{"type":"string"},"paymentSepaCreditTransferData":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]},"useDepositReceipts":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}]},"supplierNumber":{"default":"","type":"string","maxLength":32},"doNotSendReceipt":{"default":false,"type":"boolean"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"cashTransactionPayment":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["amount"]},"electronic":{"type":"boolean"}},"required":["draft","address","deliveryDateType","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/deposit":{"post":{"operationId":"finance-receipts-createDepositReceipt","summary":"Create deposit receipt","description":"Creates a new deposit receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"refund":{"default":false,"type":"boolean"},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["description","amount"]}},"supplierNumber":{"default":"","type":"string","maxLength":32},"doNotSendReceipt":{"default":false,"type":"boolean"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"payment":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["account","date","amount"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"electronic":{"default":false,"type":"boolean"}},"required":["draft","address","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/deposit/{receiptId}":{"post":{"operationId":"finance-receipts-updateDepositReceipt","summary":"Update deposit receipt","description":"Updates an existing deposit receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"refund":{"default":false,"type":"boolean"},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["description","amount"]}},"supplierNumber":{"default":"","type":"string","maxLength":32},"doNotSendReceipt":{"default":false,"type":"boolean"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"cashTransactionPayment":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["amount"]},"electronic":{"type":"boolean"}},"required":["draft","address","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/offer":{"post":{"operationId":"finance-receipts-createOfferReceipt","summary":"Create offer receipt","description":"Creates a new offer receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"doNotSendReceipt":{"default":false,"type":"boolean"},"offerStatus":{"default":"open","type":"string","const":"open"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["draft","address","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/offer/{receiptId}":{"post":{"operationId":"finance-receipts-updateOfferReceipt","summary":"Update offer receipt","description":"Updates an existing offer receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"doNotSendReceipt":{"default":false,"type":"boolean"},"offerStatus":{"type":"string","enum":["open","accepted","rejected"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]}},"required":["draft","address","title","intro","account","receiptDate","dueDate","positions","offerStatus"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/confirmation":{"post":{"operationId":"finance-receipts-createConfirmationReceipt","summary":"Create confirmation receipt","description":"Creates a new confirmation receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"doNotSendReceipt":{"default":false,"type":"boolean"},"confirmationStatus":{"default":"open","type":"string","const":"open"},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["draft","address","deliveryDateType","title","intro","deliveryTerms","account","receiptDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/confirmation/{receiptId}":{"post":{"operationId":"finance-receipts-updateConfirmationReceipt","summary":"Update confirmation receipt","description":"Updates an existing confirmation receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"type":"boolean"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"doNotSendReceipt":{"default":false,"type":"boolean"},"confirmationStatus":{"type":"string","enum":["open","finished"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]}},"required":["draft","address","deliveryDateType","title","intro","deliveryTerms","account","receiptDate","positions","confirmationStatus"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/donation":{"post":{"operationId":"finance-receipts-createDonationReceipt","summary":"Create donation receipt","description":"Creates a new donation receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"donationType":{"type":"string","enum":["cash","membershipFee","assetStock","refund"]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string","minLength":1},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"doNotSendReceipt":{"default":false,"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["description","details","amount","account"]}},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"payment":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["account","date","amount"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"contributionIds":{"type":"array","items":{"type":"string"}}},"required":["address","title","intro","account","receiptDate","dueDate","donationType","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/donation/{receiptId}":{"post":{"operationId":"finance-receipts-updateDonationReceipt","summary":"Update donation receipt","description":"Updates an existing donation receipt if it has no committed postings yet for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"donationType":{"type":"string","enum":["cash","membershipFee","assetStock","refund"]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string","minLength":1},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"doNotSendReceipt":{"default":false,"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["description","details","amount","account"]}},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"cashTransactionPayment":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]}},"required":["amount"]}},"required":["address","title","intro","account","receiptDate","dueDate","donationType","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/list":{"post":{"operationId":"finance-receipts-listReceipts","summary":"List receipts","description":"Returns a list of receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","receiptDispatchStatus.openedAt","receiptDispatchStatus.clickedAt","receiptDispatchStatus.unsubscribedAt","receiptDispatchStatus.sentAt","receiptDispatchStatus.dispatchedBy.name","receiptDispatchStatus.dispatchedBy.type","receiptDispatchStatus.dispatchedBy.userId","receiptDispatchStatus.dispatchedBy.image.resource","receiptDispatchStatus.dispatchedBy.image.fileName","receiptDispatchStatus.dispatchedBy.image.contentType","receiptDispatchStatus.dispatchedBy.image.fileSizeBytes","receiptDispatchStatus.dispatchedBy.key","receiptDispatchStatus.sendStatus","receiptDispatchStatus.sendError","receiptDispatchStatus.sendPrice","isNet","positions","notes","tags","paidAt","paymentStatus","paymentDifference","payments","paymentSepaCreditTransfer","paymentMethod.type","paymentMethod.sepaCreditTransfer.cashAccount","paymentMethod.sepaCreditTransfer.referenceId","paymentMethod.sepaCreditTransfer.epcQRData","paymentMethod.sepaCreditTransfer.sepaMsgId","paymentMethod.sepaDirectDebit.iban","paymentMethod.sepaDirectDebit.bic","paymentMethod.sepaDirectDebit.sepaMandateId","paymentMethod.sepaDirectDebit.sepaMandateSignatureDate","paymentMethod.sepaDirectDebit.accountHolderName","paymentMethod.sepaDirectDebit.accountHolderAddress.country","paymentMethod.sepaDirectDebit.accountHolderAddress.state","paymentMethod.sepaDirectDebit.accountHolderAddress.zip","paymentMethod.sepaDirectDebit.accountHolderAddress.city","paymentMethod.sepaDirectDebit.accountHolderAddress.addressLine","paymentMethod.sepaDirectDebit.accountHolderAddress.details1","paymentMethod.sepaDirectDebit.accountHolderAddress.details2","paymentMethod.sepaDirectDebit.cashAccount","paymentMethod.sepaDirectDebit.sepaEndToEndId","paymentMethod.sepaDirectDebit.purpose","paymentMethod.sepaDirectDebit.sepaMsgId","paymentMethod.sepaDirectDebit.batchBooking","paymentMethod.online.paymentIntent","paymentMethod.online.provider","paymentMethod.online.paymentMode","paymentMethod.online.onlineDebitCollection","returnedPayments","draft","completing","refund","refundReceipt","refundReceiptNumber","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","sendMethod","dueDate","deliveryDateType","deliveryDateStart","deliveryDateEnd","description","title","intro","note","deliveryTerms","discount","discountType","reminderStatus.level","reminderStatus.reminderDueDateOverride","reminderStatus.fees","reminderStatus.reminders","invoiceType","offerStatus","offerReceipt","offerReceiptNumber","confirmationReceipt","confirmationReceiptNumber","confirmationStatus","doNotSendReceipt","donationType","donationNumber","depositUsages","totalUsedDepositGrossAmount","canceledAt","canceledBy.name","canceledBy.type","canceledBy.userId","canceledBy.image.resource","canceledBy.image.fileName","canceledBy.image.contentType","canceledBy.image.fileSizeBytes","canceledBy.key","canceledReason","cancelReceiptNumber","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","createdAt","updatedAt","customerType","customerNumber","totalFeesAmount","totalAmountLeftToPay","electronic","supplierNumber","debtorBlockedAt","debtorBlockedBy.name","debtorBlockedBy.type","debtorBlockedBy.userId","debtorBlockedBy.image.resource","debtorBlockedBy.image.fileName","debtorBlockedBy.image.contentType","debtorBlockedBy.image.fileSizeBytes","debtorBlockedBy.key","receiptTemplate","totalGrossAmount","invoiceReceiptNumber"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"view":{"type":"string","enum":["outgoing","sales","salesArchived","incoming","payable","payableOutgoing","payableIncoming","paid","paidOutgoing","paidIncoming","allDue","allDueOutgoing","allDueIncoming","reminder","overdue","overdueOutgoing","overdueIncoming","due","dueOutgoing","dueIncoming","collectAll","collectOverdue","collectDue","collectOverdueDirectDebits","collectDueDirectDebits","collectOverdueOnlineDebits","collectDueOnlineDebits","pending","draft","canceled","canceledOutgoing","canceledIncoming","archived","archivedOutgoing","archivedIncoming","withDonation","requireDonation"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"receipts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"account":{"type":"integer","minimum":1,"maximum":999999999},"accountName":{"type":"string"},"accountNameSort":{"type":"string"},"receiptNumber":{"type":"string","maxLength":30},"receiptNumberSort":{"anyOf":[{"type":"number"},{"type":"null"}]},"receiptDate":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"receiptDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"isNet":{"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"quantity":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","maxLength":40},"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"],"additionalProperties":false}}},"required":["components"],"additionalProperties":false}},"required":["costCenter1","costCenter2","amount"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}},"tags":{"type":"string array"},"paidAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDifference":{"anyOf":[{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},{"type":"null"}]},"payments":{"type":"array","items":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false}},"paymentSepaCreditTransfer":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]},"returnedPayments":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"date":{"type":"string"},"action":{"type":"string","enum":["retry","manual","cancel"]},"returnFee":{"type":"integer","minimum":0,"maximum":9999999999},"processingFee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"payment":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"previousDueDate":{"type":"string"},"previousPaymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]}},"required":["id","date","action","returnFee","processingFee","unpaidAmount"],"additionalProperties":false}},"draft":{"type":"boolean"},"completing":{"type":"boolean"},"refund":{"type":"boolean"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"refundReceiptNumber":{"type":"string","maxLength":30},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"type":"string","enum":["none","email","postal"]},"dueDate":{"type":"string"},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":140},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"type":"string","enum":["%","amount"]},"reminderStatus":{"type":"object","properties":{"level":{"anyOf":[{"type":"string","enum":["level1","level2","level3","level4"]},{"type":"null"}]},"reminderDueDateOverride":{"anyOf":[{"type":"string"},{"type":"null"}]},"fees":{"type":"integer","minimum":0,"maximum":9999999999},"reminders":{"type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["level1","level2","level3","level4"]},"date":{"type":"string"},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["level","date","fee","unpaidAmount"],"additionalProperties":false}}},"required":["level","reminderDueDateOverride","fees","reminders"],"additionalProperties":false},"invoiceType":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"offerStatus":{"type":"string","enum":["open","accepted","rejected"]},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceiptNumber":{"type":"string","maxLength":30},"confirmationReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"confirmationReceiptNumber":{"type":"string","maxLength":30},"confirmationStatus":{"type":"string","enum":["open","finished"]},"doNotSendReceipt":{"type":"boolean"},"donationType":{"type":"string","enum":["cash","membershipFee","assetStock","refund"]},"donationNumber":{"type":"string"},"depositUsages":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"grossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","enum":["payment","refund"]}},"required":["receipt","receiptNumber","grossAmount","type"],"additionalProperties":false}},"totalUsedDepositGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"canceledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"canceledBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"canceledReason":{"type":"string","maxLength":240},"cancelReceiptNumber":{"type":"string","maxLength":30},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"customerType":{"type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"type":"array","items":{"type":"string","maxLength":24}},"totalFeesAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalAmountLeftToPay":{"type":"integer","minimum":0,"maximum":9999999999},"electronic":{"type":"boolean"},"supplierNumber":{"type":"string","maxLength":32},"debtorBlockedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"debtorBlockedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"totalGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"invoiceReceiptNumber":{"type":"string","maxLength":30}},"required":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","positions","notes","tags","archivedAt","archivedBy","totalGrossAmount"],"additionalProperties":false}}},"required":["count","receipts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/pushReminderLevels":{"post":{"operationId":"finance-receipts-pushReceiptsReminderLevel","summary":"Push reminder levels","description":"Pushes the reminder levels for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptIds":{"type":"array","items":{"type":"string"}},"reminderTexts":{"type":"object","properties":{"reminders":{"type":"object","propertyNames":{"type":"string","enum":["level1","level2","level3","level4"]},"additionalProperties":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"]},"required":["level1","level2","level3","level4"]},"donationReminders":{"type":"object","propertyNames":{"type":"string","enum":["level1","level2","level3","level4"]},"additionalProperties":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["general"]},"required":["level1","level2","level3","level4"]}},"required":["reminders","donationReminders"]}},"required":["receiptIds","reminderTexts"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/reminderLevelSchedule":{"post":{"operationId":"finance-receipts-getReceiptReminderLevelSchedule","summary":"Get reminder level schedule","description":"Returns enabled reminder levels and their due dates for an example due date <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dueDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"reminderDueDateOverride":{"anyOf":[{"type":"string"},{"type":"null"}]},"reminderType":{"type":"string","enum":["reminders","donationReminders"]},"reminders":{"type":"object","properties":{"automaticRemindersEnabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"level1":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"]}},"required":["enabled","daysOverdue","fee","messages"]},"level2":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"]}},"required":["enabled","daysOverdue","fee","messages"]},"level3":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"]}},"required":["enabled","daysOverdue","fee","messages"]},"level4":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"]}},"required":["enabled","daysOverdue","fee","messages"]},"donationReminders":{"type":"object","properties":{"automaticRemindersEnabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"level1":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["general"]}},"required":["enabled","daysOverdue","fee","messages"]},"level2":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["general"]}},"required":["enabled","daysOverdue","fee","messages"]},"level3":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["general"]}},"required":["enabled","daysOverdue","fee","messages"]},"level4":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["general"]}},"required":["enabled","daysOverdue","fee","messages"]}},"required":["automaticRemindersEnabledAt","level1","level2","level3","level4"]}},"required":["automaticRemindersEnabledAt","level1","level2","level3","level4","donationReminders"]}},"required":["dueDate","reminderDueDateOverride","reminderType","reminders"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["level1","level2","level3","level4"]},"dueDate":{"type":"string"}},"required":["level","dueDate"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}":{"get":{"operationId":"finance-receipts-getReceipt","summary":"Get receipt","description":"Returns a specific receipt with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"query","name":"includeSummary","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"account":{"type":"integer","minimum":1,"maximum":999999999},"accountName":{"type":"string"},"accountNameSort":{"type":"string"},"receiptNumber":{"type":"string","maxLength":30},"receiptNumberSort":{"anyOf":[{"type":"number"},{"type":"null"}]},"receiptDate":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"receiptDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"isNet":{"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"quantity":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","maxLength":40},"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"],"additionalProperties":false}}},"required":["components"],"additionalProperties":false}},"required":["costCenter1","costCenter2","amount"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}},"tags":{"type":"string array"},"paidAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDifference":{"anyOf":[{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},{"type":"null"}]},"payments":{"type":"array","items":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false}},"paymentSepaCreditTransfer":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]},"returnedPayments":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"date":{"type":"string"},"action":{"type":"string","enum":["retry","manual","cancel"]},"returnFee":{"type":"integer","minimum":0,"maximum":9999999999},"processingFee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"payment":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"previousDueDate":{"type":"string"},"previousPaymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]}},"required":["id","date","action","returnFee","processingFee","unpaidAmount"],"additionalProperties":false}},"draft":{"type":"boolean"},"completing":{"type":"boolean"},"refund":{"type":"boolean"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"refundReceiptNumber":{"type":"string","maxLength":30},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"type":"string","enum":["none","email","postal"]},"dueDate":{"type":"string"},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":140},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"paymentTerms":{"type":"string","maxLength":2000},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"type":"string","enum":["%","amount"]},"reminderStatus":{"type":"object","properties":{"level":{"anyOf":[{"type":"string","enum":["level1","level2","level3","level4"]},{"type":"null"}]},"reminderDueDateOverride":{"anyOf":[{"type":"string"},{"type":"null"}]},"fees":{"type":"integer","minimum":0,"maximum":9999999999},"reminders":{"type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["level1","level2","level3","level4"]},"date":{"type":"string"},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["level","date","fee","unpaidAmount"],"additionalProperties":false}}},"required":["level","reminderDueDateOverride","fees","reminders"],"additionalProperties":false},"invoiceType":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"offerStatus":{"type":"string","enum":["open","accepted","rejected"]},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceiptNumber":{"type":"string","maxLength":30},"confirmationReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"confirmationReceiptNumber":{"type":"string","maxLength":30},"confirmationStatus":{"type":"string","enum":["open","finished"]},"doNotSendReceipt":{"type":"boolean"},"donationType":{"type":"string","enum":["cash","membershipFee","assetStock","refund"]},"donationNumber":{"type":"string"},"depositUsages":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"grossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","enum":["payment","refund"]}},"required":["receipt","receiptNumber","grossAmount","type"],"additionalProperties":false}},"totalUsedDepositGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"canceledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"canceledBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"canceledReason":{"type":"string","maxLength":240},"cancelReceiptNumber":{"type":"string","maxLength":30},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"customerType":{"type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"type":"array","items":{"type":"string","maxLength":24}},"totalFeesAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalAmountLeftToPay":{"type":"integer","minimum":0,"maximum":9999999999},"electronic":{"type":"boolean"},"supplierNumber":{"type":"string","maxLength":32},"debtorBlockedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"debtorBlockedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"totalGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"summary":{"type":"object","properties":{"netAmount":{"type":"integer","minimum":0,"maximum":9999999999},"grossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discountNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discountGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"depositUsedNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"depositUsedGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalNetAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalFeesAmount":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["netAmount","grossAmount","discountNetAmount","discountGrossAmount","depositUsedNetAmount","depositUsedGrossAmount","totalNetAmount","totalGrossAmount","totalFeesAmount"],"additionalProperties":false}},"required":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","positions","notes","tags","archivedAt","archivedBy","totalGrossAmount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-receipts-deleteReceipt","summary":"Delete receipt","description":"Deletes a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read\n* #### receipt.remove","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/export/files":{"post":{"operationId":"finance-receipts-exportReceiptFiles","summary":"Export receipts","description":"Queues a zip file export of multiple receipts for a given mandate by email <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"view":{"type":"string","enum":["outgoing","sales","salesArchived","incoming","payable","payableOutgoing","payableIncoming","paid","paidOutgoing","paidIncoming","allDue","allDueOutgoing","allDueIncoming","reminder","overdue","overdueOutgoing","overdueIncoming","due","dueOutgoing","dueIncoming","collectAll","collectOverdue","collectDue","collectOverdueDirectDebits","collectDueDirectDebits","collectOverdueOnlineDebits","collectDueOnlineDebits","pending","draft","canceled","canceledOutgoing","canceledIncoming","archived","archivedOutgoing","archivedIncoming","withDonation","requireDonation"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"receiverName":{"type":"string","minLength":1},"receiverEmail":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","receiptDispatchStatus.openedAt","receiptDispatchStatus.clickedAt","receiptDispatchStatus.unsubscribedAt","receiptDispatchStatus.sentAt","receiptDispatchStatus.dispatchedBy.name","receiptDispatchStatus.dispatchedBy.type","receiptDispatchStatus.dispatchedBy.userId","receiptDispatchStatus.dispatchedBy.image.resource","receiptDispatchStatus.dispatchedBy.image.fileName","receiptDispatchStatus.dispatchedBy.image.contentType","receiptDispatchStatus.dispatchedBy.image.fileSizeBytes","receiptDispatchStatus.dispatchedBy.key","receiptDispatchStatus.sendStatus","receiptDispatchStatus.sendError","receiptDispatchStatus.sendPrice","isNet","positions","notes","tags","paidAt","paymentStatus","paymentDifference","payments","paymentSepaCreditTransfer","paymentMethod.type","paymentMethod.sepaCreditTransfer.cashAccount","paymentMethod.sepaCreditTransfer.referenceId","paymentMethod.sepaCreditTransfer.epcQRData","paymentMethod.sepaCreditTransfer.sepaMsgId","paymentMethod.sepaDirectDebit.iban","paymentMethod.sepaDirectDebit.bic","paymentMethod.sepaDirectDebit.sepaMandateId","paymentMethod.sepaDirectDebit.sepaMandateSignatureDate","paymentMethod.sepaDirectDebit.accountHolderName","paymentMethod.sepaDirectDebit.accountHolderAddress.country","paymentMethod.sepaDirectDebit.accountHolderAddress.state","paymentMethod.sepaDirectDebit.accountHolderAddress.zip","paymentMethod.sepaDirectDebit.accountHolderAddress.city","paymentMethod.sepaDirectDebit.accountHolderAddress.addressLine","paymentMethod.sepaDirectDebit.accountHolderAddress.details1","paymentMethod.sepaDirectDebit.accountHolderAddress.details2","paymentMethod.sepaDirectDebit.cashAccount","paymentMethod.sepaDirectDebit.sepaEndToEndId","paymentMethod.sepaDirectDebit.purpose","paymentMethod.sepaDirectDebit.sepaMsgId","paymentMethod.sepaDirectDebit.batchBooking","paymentMethod.online.paymentIntent","paymentMethod.online.provider","paymentMethod.online.paymentMode","paymentMethod.online.onlineDebitCollection","returnedPayments","draft","completing","refund","refundReceipt","refundReceiptNumber","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","sendMethod","dueDate","deliveryDateType","deliveryDateStart","deliveryDateEnd","description","title","intro","note","deliveryTerms","discount","discountType","reminderStatus.level","reminderStatus.reminderDueDateOverride","reminderStatus.fees","reminderStatus.reminders","invoiceType","offerStatus","offerReceipt","offerReceiptNumber","confirmationReceipt","confirmationReceiptNumber","confirmationStatus","doNotSendReceipt","donationType","donationNumber","depositUsages","totalUsedDepositGrossAmount","canceledAt","canceledBy.name","canceledBy.type","canceledBy.userId","canceledBy.image.resource","canceledBy.image.fileName","canceledBy.image.contentType","canceledBy.image.fileSizeBytes","canceledBy.key","canceledReason","cancelReceiptNumber","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","createdAt","updatedAt","customerType","customerNumber","totalFeesAmount","totalAmountLeftToPay","electronic","supplierNumber","debtorBlockedAt","debtorBlockedBy.name","debtorBlockedBy.type","debtorBlockedBy.userId","debtorBlockedBy.image.resource","debtorBlockedBy.image.fileName","debtorBlockedBy.image.contentType","debtorBlockedBy.image.fileSizeBytes","debtorBlockedBy.key","receiptTemplate","totalGrossAmount","invoiceReceiptNumber"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/export":{"post":{"operationId":"finance-receipts-exportReceipts","summary":"Export receipts","description":"Queues a file export of receipts for a given mandate by email <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"view":{"type":"string","enum":["outgoing","sales","salesArchived","incoming","payable","payableOutgoing","payableIncoming","paid","paidOutgoing","paidIncoming","allDue","allDueOutgoing","allDueIncoming","reminder","overdue","overdueOutgoing","overdueIncoming","due","dueOutgoing","dueIncoming","collectAll","collectOverdue","collectDue","collectOverdueDirectDebits","collectDueDirectDebits","collectOverdueOnlineDebits","collectDueOnlineDebits","pending","draft","canceled","canceledOutgoing","canceledIncoming","archived","archivedOutgoing","archivedIncoming","withDonation","requireDonation"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","receiptDispatchStatus.openedAt","receiptDispatchStatus.clickedAt","receiptDispatchStatus.unsubscribedAt","receiptDispatchStatus.sentAt","receiptDispatchStatus.dispatchedBy.name","receiptDispatchStatus.dispatchedBy.type","receiptDispatchStatus.dispatchedBy.userId","receiptDispatchStatus.dispatchedBy.image.resource","receiptDispatchStatus.dispatchedBy.image.fileName","receiptDispatchStatus.dispatchedBy.image.contentType","receiptDispatchStatus.dispatchedBy.image.fileSizeBytes","receiptDispatchStatus.dispatchedBy.key","receiptDispatchStatus.sendStatus","receiptDispatchStatus.sendError","receiptDispatchStatus.sendPrice","isNet","positions","notes","tags","paidAt","paymentStatus","paymentDifference","payments","paymentSepaCreditTransfer","paymentMethod.type","paymentMethod.sepaCreditTransfer.cashAccount","paymentMethod.sepaCreditTransfer.referenceId","paymentMethod.sepaCreditTransfer.epcQRData","paymentMethod.sepaCreditTransfer.sepaMsgId","paymentMethod.sepaDirectDebit.iban","paymentMethod.sepaDirectDebit.bic","paymentMethod.sepaDirectDebit.sepaMandateId","paymentMethod.sepaDirectDebit.sepaMandateSignatureDate","paymentMethod.sepaDirectDebit.accountHolderName","paymentMethod.sepaDirectDebit.accountHolderAddress.country","paymentMethod.sepaDirectDebit.accountHolderAddress.state","paymentMethod.sepaDirectDebit.accountHolderAddress.zip","paymentMethod.sepaDirectDebit.accountHolderAddress.city","paymentMethod.sepaDirectDebit.accountHolderAddress.addressLine","paymentMethod.sepaDirectDebit.accountHolderAddress.details1","paymentMethod.sepaDirectDebit.accountHolderAddress.details2","paymentMethod.sepaDirectDebit.cashAccount","paymentMethod.sepaDirectDebit.sepaEndToEndId","paymentMethod.sepaDirectDebit.purpose","paymentMethod.sepaDirectDebit.sepaMsgId","paymentMethod.sepaDirectDebit.batchBooking","paymentMethod.online.paymentIntent","paymentMethod.online.provider","paymentMethod.online.paymentMode","paymentMethod.online.onlineDebitCollection","returnedPayments","draft","completing","refund","refundReceipt","refundReceiptNumber","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","sendMethod","dueDate","deliveryDateType","deliveryDateStart","deliveryDateEnd","description","title","intro","note","deliveryTerms","discount","discountType","reminderStatus.level","reminderStatus.reminderDueDateOverride","reminderStatus.fees","reminderStatus.reminders","invoiceType","offerStatus","offerReceipt","offerReceiptNumber","confirmationReceipt","confirmationReceiptNumber","confirmationStatus","doNotSendReceipt","donationType","donationNumber","depositUsages","totalUsedDepositGrossAmount","canceledAt","canceledBy.name","canceledBy.type","canceledBy.userId","canceledBy.image.resource","canceledBy.image.fileName","canceledBy.image.contentType","canceledBy.image.fileSizeBytes","canceledBy.key","canceledReason","cancelReceiptNumber","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","createdAt","updatedAt","customerType","customerNumber","totalFeesAmount","totalAmountLeftToPay","electronic","supplierNumber","debtorBlockedAt","debtorBlockedBy.name","debtorBlockedBy.type","debtorBlockedBy.userId","debtorBlockedBy.image.resource","debtorBlockedBy.image.fileName","debtorBlockedBy.image.contentType","debtorBlockedBy.image.fileSizeBytes","debtorBlockedBy.key","receiptTemplate","totalGrossAmount","invoiceReceiptNumber"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/cancel":{"post":{"operationId":"finance-receipts-cancelReceipt","summary":"Cancel receipt","description":"Cancels a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"default":"","type":"string","maxLength":240},"cancelDate":{"type":"string"},"sendCancelationReceipt":{"type":"boolean"}},"required":["cancelDate","sendCancelationReceipt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/archive":{"post":{"operationId":"finance-receipts-archiveReceipt","summary":"Archive receipt","description":"Archives a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/unarchive":{"post":{"operationId":"finance-receipts-unarchiveReceipt","summary":"Unarchive receipt","description":"Unarchives a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/reminders/next":{"post":{"operationId":"finance-receipts-getNextReceiptReminderLevel","summary":"Get next reminder level","description":"Returns the next reminder level for a given list of receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptIds":{"maxItems":1000,"type":"array","items":{"type":"string"}}},"required":["receiptIds"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"nextLevel":{"anyOf":[{"type":"string","enum":["level1","level2","level3","level4"]},{"type":"null"}]}},"required":["receiptId","nextLevel"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/tags":{"post":{"operationId":"finance-receipts-updateReceiptTags","summary":"Update receipt tags","description":"Updates the tags on a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["tags"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"added":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["added","removed"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/notes":{"post":{"operationId":"finance-receipts-addReceiptNote","summary":"Add receipt note","description":"Adds a note to a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","minLength":6,"maxLength":6}},"required":["noteId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"get":{"operationId":"finance-receipts-listReceiptNotes","summary":"List receipt notes","description":"Returns receipt notes ordered by creation date, newest first <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100},"required":true},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}}},"required":["count","notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/notes/{noteId}":{"delete":{"operationId":"finance-receipts-deleteReceiptNote","summary":"Delete receipt note","description":"Deletes a note from a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string","minLength":6,"maxLength":6},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-receipts-updateReceiptNote","summary":"Update receipt note","description":"Updates a note on a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string","minLength":6,"maxLength":6},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/payments":{"post":{"operationId":"finance-receipts-addReceiptPayment","summary":"Add receipt payment","description":"Adds a payment to a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"date":{"type":"string"},"cashTransactionId":{"type":"string"},"paymentDifference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},"note":{"type":"string","maxLength":4000},"deductionReceipts":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"receiptId":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["receiptId","amount"]}}},"required":["amount","account","date"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1}},"required":["paymentId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/payments/{paymentOrCashTransactionId}":{"delete":{"operationId":"finance-receipts-deleteReceiptPayment","summary":"Delete receipt payment","description":"Deletes a specific payment for a given receipt for a given mandate by either its payment id or by a cash transaction id <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"path","name":"paymentOrCashTransactionId","schema":{"anyOf":[{"type":"string"},{"type":"string","minLength":1}]},"required":true},{"in":"query","name":"deleteRelatedPayments","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/returnedPayment/{returnedPaymentId}":{"delete":{"operationId":"finance-receipts-deleteReturnedPayment","summary":"Delete returned payment","description":"Undoes the latest returned payment on a specific receipt for a given mandate and restores the original payment <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit\n* #### cashTransaction.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"path","name":"returnedPaymentId","schema":{"type":"string","minLength":6,"maxLength":6},"required":true},{"in":"query","name":"force","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/returnedPayment":{"post":{"operationId":"finance-receipts-handleReturnedPayment","summary":"Handle returned payment","description":"Handles a returned payment for a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit\n* #### cashTransaction.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["retry","manual","cancel"]},"returnFee":{"type":"integer","minimum":0,"maximum":9999999999},"processingFee":{"type":"integer","minimum":0,"maximum":9999999999},"newDueDate":{"type":"string"},"newManualPaymentMethod":{"type":"string","enum":["sepaCreditTransfer","online","cash"]},"newManualPaymentCashAccountId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"blockDebtorNote":{"anyOf":[{"type":"string","minLength":1,"maxLength":2000},{"type":"null"}]},"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"doNotSendReceipt":{"type":"boolean"},"cashTransactionId":{"type":"string"}},"required":["action","returnFee","processingFee","cashTransactionId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/download":{"get":{"operationId":"finance-receipts-getReceiptDownloadUrl","summary":"Get receipt download url","description":"Returns the download url of the receipt document for a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"fileName":{"type":"string"}},"required":["url","fileName"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/scanReceipt":{"post":{"operationId":"finance-receipts-scanReceipt","summary":"Scan receipt","description":"Scans a receipt PDF/Image file and returns its information <br /><br /> \n### Required permissions:\n* #### receipt.insert","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptType":{"type":"string","enum":["revenue","expense"]},"refund":{"type":"boolean"},"fileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["receiptType","refund","fileId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"dueDate":{"type":"string"},"receiptDate":{"type":"string"},"receiptNumber":{"type":"string","maxLength":30},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalFeesAmount":{"not":{}},"accountName":{"type":"string"},"isNet":{"type":"boolean"},"account":{"type":"integer","minimum":1,"maximum":999999999},"positions":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","maxLength":200},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"additionalProperties":false}},"paymentInfo":{"type":"object","properties":{"source":{"type":"string","enum":["girocode","text","zugferd"]},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"name":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"reference":{"type":"string"},"subject":{"type":"string"}},"required":["source"],"additionalProperties":false},"source":{"type":"string","enum":["zugferd","ocr"]}},"additionalProperties":false},{"type":"null"}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/complete":{"post":{"operationId":"finance-receipts-completeReceipts","summary":"Complete draft receipts","description":"Completes a list of draft receipts for a given mandate or all accessible mandates <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/preview":{"post":{"operationId":"finance-receipts-getReceiptPreview","summary":"Get receipt preview","description":"Returns a preview of a persisted receipt or the provided unsaved receipt data <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptId":{"type":"string"},"receiptData":{"type":"object","properties":{"accountName":{"default":"","type":"string"},"accountNameSort":{"default":"","type":"string"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"deliveryTerms":{"type":"string","maxLength":255},"depositUsages":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"grossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","enum":["payment","refund"]}},"required":["receipt","receiptNumber","grossAmount","type"]}},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"dueDate":{"type":"string"},"invoiceType":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"isNet":{"default":false,"type":"boolean"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"paidAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"]}}},"required":["components"]},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]},{"type":"object","properties":{"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["description","details","amount","account"]},{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["description","amount"]}]}},"receiptDate":{"type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"refund":{"default":false,"type":"boolean"},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"title":{"type":"string","minLength":1,"maxLength":30},"totalAmountLeftToPay":{"type":"integer","minimum":0,"maximum":9999999999},"totalFeesAmount":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["invoice","deposit","donation","offer","confirmation"]},"intro":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["address","note","positions","receiptDate","title","type","intro"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"document":{"type":"string"},"pages":{"type":"number"}},"required":["document","pages"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/sendMethod":{"post":{"operationId":"finance-receipts-updateReceiptSendMethod","summary":"Update receipt send method","description":"Updates the send method of a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"doNotSendReceipt":{"type":"boolean"}},"required":["sendMethod","doNotSendReceipt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/updateReceiptSendDetails":{"post":{"operationId":"finance-receipts-updateReceiptSendDetails","summary":"Update receipt send details","description":"Updates the send details of a specific receipt for a given mandate and resends the documents <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"updateDebtorAndContactAddress":{"default":false,"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["sendMethod"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"resent":{"type":"number"},"created":{"type":"number"}},"required":["resent","created"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/offerStatus":{"post":{"operationId":"finance-receipts-updateReceiptOfferStatus","summary":"Update receipt offer status","description":"Updates the offer status of a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"offerStatus":{"type":"string","enum":["open","rejected"]},"dueDate":{"type":"string"}},"required":["offerStatus"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/{receiptId}/positions/updateAccounts":{"post":{"operationId":"finance-receipts-updatePositionAccounts","summary":"Update position accounts","description":"Updates the accounts and cost centers of a specific receipt for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountMap":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"costCenter1Map":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:null|\\d+)$"},"additionalProperties":{"type":"number"}},"costCenter2Map":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:null|\\d+)$"},"additionalProperties":{"type":"number"}}},"required":["accountMap","costCenter1Map","costCenter2Map"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/receipts/createOffsetCreditNote":{"post":{"operationId":"finance-receipts-createOffsetCreditNoteForReceipt","summary":"Create offset credit note","description":"Creates an offset credit note, which means that the given receipt is refunded and a deposit receipt is created with the same amount. If cost centers are provided they'll be used for the deposit receipt. <br /><br /> \n### Required permissions:\n* #### mandate.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"account":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"receiptDate":{"type":"string"},"dueDate":{"type":"string"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"email":{"default":"","anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"default":"none","type":"string","enum":["none","email","postal"]},"accountName":{"default":"","type":"string"},"receiptNumber":{"default":null,"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"customerType":{"default":"debtor","type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"default":[],"type":"array","items":{"type":"string","maxLength":24}},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":140},"note":{"default":"","type":"string","maxLength":2000},"discount":{"default":0,"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"default":"%","type":"string","enum":["%","amount"]},"invoiceType":{"default":"invoice","type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"]},{"type":"null"}]},"paymentTerms":{"type":"string","maxLength":2000},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","minLength":1,"maxLength":200},"account":{"type":"integer","minimum":1,"maximum":999999999},"details":{"default":"","type":"string","maxLength":2000},"quantity":{"default":1,"type":"number","exclusiveMinimum":0},"unit":{"default":"","type":"string","maxLength":40},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]}},"required":["unitAmount","discount","description","account"]}},"supplierNumber":{"default":"","type":"string","maxLength":32},"doNotSendReceipt":{"default":false,"type":"boolean"},"depositCostCenters":{"type":"object","properties":{"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["costCenter1","costCenter2"]},"queueReceiptDocument":{"default":false,"type":"boolean"},"emailTexts":{"type":"object","properties":{"subject":{"type":"string","maxLength":998},"message":{"type":"string","maxLength":10000}},"required":["subject","message"]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"electronic":{"default":false,"type":"boolean"}},"required":["address","deliveryDateType","title","intro","account","receiptDate","dueDate","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"alreadyCollected":{"type":"boolean"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/regenerate-documents":{"post":{"operationId":"finance-receipts-regenerateReceiptDocuments","summary":"Regenerate receipt documents","description":"Queues jobs to recreate receipt PDFs from the current templates <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}},"required":["receiptIds"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"queuedCount":{"type":"number"}},"required":["queuedCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/tags/list":{"post":{"operationId":"finance-receipts-listTags","summary":"List receipt tags","description":"Returns a list of tags used on receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/receipts/tags/remove":{"post":{"operationId":"finance-receipts-removeTag","summary":"Remove tag","description":"Removes a receipt tag case-insensitively from receipts and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### receipt.remove","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/pushAllReminderLevels":{"post":{"operationId":"finance-receipts-pushOverrideReceiptsReminderLevel","summary":"Push and override reminder levels for receipts","description":"Pushes receipts reminder level for receipts and overrides the reminder due date to the current date <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","receiptDispatchStatus.openedAt","receiptDispatchStatus.clickedAt","receiptDispatchStatus.unsubscribedAt","receiptDispatchStatus.sentAt","receiptDispatchStatus.dispatchedBy.name","receiptDispatchStatus.dispatchedBy.type","receiptDispatchStatus.dispatchedBy.userId","receiptDispatchStatus.dispatchedBy.image.resource","receiptDispatchStatus.dispatchedBy.image.fileName","receiptDispatchStatus.dispatchedBy.image.contentType","receiptDispatchStatus.dispatchedBy.image.fileSizeBytes","receiptDispatchStatus.dispatchedBy.key","receiptDispatchStatus.sendStatus","receiptDispatchStatus.sendError","receiptDispatchStatus.sendPrice","isNet","positions","notes","tags","paidAt","paymentStatus","paymentDifference","payments","paymentSepaCreditTransfer","paymentMethod.type","paymentMethod.sepaCreditTransfer.cashAccount","paymentMethod.sepaCreditTransfer.referenceId","paymentMethod.sepaCreditTransfer.epcQRData","paymentMethod.sepaCreditTransfer.sepaMsgId","paymentMethod.sepaDirectDebit.iban","paymentMethod.sepaDirectDebit.bic","paymentMethod.sepaDirectDebit.sepaMandateId","paymentMethod.sepaDirectDebit.sepaMandateSignatureDate","paymentMethod.sepaDirectDebit.accountHolderName","paymentMethod.sepaDirectDebit.accountHolderAddress.country","paymentMethod.sepaDirectDebit.accountHolderAddress.state","paymentMethod.sepaDirectDebit.accountHolderAddress.zip","paymentMethod.sepaDirectDebit.accountHolderAddress.city","paymentMethod.sepaDirectDebit.accountHolderAddress.addressLine","paymentMethod.sepaDirectDebit.accountHolderAddress.details1","paymentMethod.sepaDirectDebit.accountHolderAddress.details2","paymentMethod.sepaDirectDebit.cashAccount","paymentMethod.sepaDirectDebit.sepaEndToEndId","paymentMethod.sepaDirectDebit.purpose","paymentMethod.sepaDirectDebit.sepaMsgId","paymentMethod.sepaDirectDebit.batchBooking","paymentMethod.online.paymentIntent","paymentMethod.online.provider","paymentMethod.online.paymentMode","paymentMethod.online.onlineDebitCollection","returnedPayments","draft","completing","refund","refundReceipt","refundReceiptNumber","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","sendMethod","dueDate","deliveryDateType","deliveryDateStart","deliveryDateEnd","description","title","intro","note","deliveryTerms","discount","discountType","reminderStatus.level","reminderStatus.reminderDueDateOverride","reminderStatus.fees","reminderStatus.reminders","invoiceType","offerStatus","offerReceipt","offerReceiptNumber","confirmationReceipt","confirmationReceiptNumber","confirmationStatus","doNotSendReceipt","donationType","donationNumber","depositUsages","totalUsedDepositGrossAmount","canceledAt","canceledBy.name","canceledBy.type","canceledBy.userId","canceledBy.image.resource","canceledBy.image.fileName","canceledBy.image.contentType","canceledBy.image.fileSizeBytes","canceledBy.key","canceledReason","cancelReceiptNumber","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","createdAt","updatedAt","customerType","customerNumber","totalFeesAmount","totalAmountLeftToPay","electronic","supplierNumber","debtorBlockedAt","debtorBlockedBy.name","debtorBlockedBy.type","debtorBlockedBy.userId","debtorBlockedBy.image.resource","debtorBlockedBy.image.fileName","debtorBlockedBy.image.contentType","debtorBlockedBy.image.fileSizeBytes","debtorBlockedBy.key","receiptTemplate","totalGrossAmount"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"reminderType":{"type":"string","enum":["reminders","donationReminders"]}},"required":["selection","reminderType"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/remindable/list":{"post":{"operationId":"finance-receipts-listPastRemindableReceipts","summary":"List remindable receipts","description":"Returns a list of remindable receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","receiptDispatchStatus.openedAt","receiptDispatchStatus.clickedAt","receiptDispatchStatus.unsubscribedAt","receiptDispatchStatus.sentAt","receiptDispatchStatus.dispatchedBy.name","receiptDispatchStatus.dispatchedBy.type","receiptDispatchStatus.dispatchedBy.userId","receiptDispatchStatus.dispatchedBy.image.resource","receiptDispatchStatus.dispatchedBy.image.fileName","receiptDispatchStatus.dispatchedBy.image.contentType","receiptDispatchStatus.dispatchedBy.image.fileSizeBytes","receiptDispatchStatus.dispatchedBy.key","receiptDispatchStatus.sendStatus","receiptDispatchStatus.sendError","receiptDispatchStatus.sendPrice","isNet","positions","notes","tags","paidAt","paymentStatus","paymentDifference","payments","paymentSepaCreditTransfer","paymentMethod.type","paymentMethod.sepaCreditTransfer.cashAccount","paymentMethod.sepaCreditTransfer.referenceId","paymentMethod.sepaCreditTransfer.epcQRData","paymentMethod.sepaCreditTransfer.sepaMsgId","paymentMethod.sepaDirectDebit.iban","paymentMethod.sepaDirectDebit.bic","paymentMethod.sepaDirectDebit.sepaMandateId","paymentMethod.sepaDirectDebit.sepaMandateSignatureDate","paymentMethod.sepaDirectDebit.accountHolderName","paymentMethod.sepaDirectDebit.accountHolderAddress.country","paymentMethod.sepaDirectDebit.accountHolderAddress.state","paymentMethod.sepaDirectDebit.accountHolderAddress.zip","paymentMethod.sepaDirectDebit.accountHolderAddress.city","paymentMethod.sepaDirectDebit.accountHolderAddress.addressLine","paymentMethod.sepaDirectDebit.accountHolderAddress.details1","paymentMethod.sepaDirectDebit.accountHolderAddress.details2","paymentMethod.sepaDirectDebit.cashAccount","paymentMethod.sepaDirectDebit.sepaEndToEndId","paymentMethod.sepaDirectDebit.purpose","paymentMethod.sepaDirectDebit.sepaMsgId","paymentMethod.sepaDirectDebit.batchBooking","paymentMethod.online.paymentIntent","paymentMethod.online.provider","paymentMethod.online.paymentMode","paymentMethod.online.onlineDebitCollection","returnedPayments","draft","completing","refund","refundReceipt","refundReceiptNumber","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","email","sendMethod","dueDate","deliveryDateType","deliveryDateStart","deliveryDateEnd","description","title","intro","note","deliveryTerms","discount","discountType","reminderStatus.level","reminderStatus.reminderDueDateOverride","reminderStatus.fees","reminderStatus.reminders","invoiceType","offerStatus","offerReceipt","offerReceiptNumber","confirmationReceipt","confirmationReceiptNumber","confirmationStatus","doNotSendReceipt","donationType","donationNumber","depositUsages","totalUsedDepositGrossAmount","canceledAt","canceledBy.name","canceledBy.type","canceledBy.userId","canceledBy.image.resource","canceledBy.image.fileName","canceledBy.image.contentType","canceledBy.image.fileSizeBytes","canceledBy.key","canceledReason","cancelReceiptNumber","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","createdAt","updatedAt","customerType","customerNumber","totalFeesAmount","totalAmountLeftToPay","electronic","supplierNumber","debtorBlockedAt","debtorBlockedBy.name","debtorBlockedBy.type","debtorBlockedBy.userId","debtorBlockedBy.image.resource","debtorBlockedBy.image.fileName","debtorBlockedBy.image.contentType","debtorBlockedBy.image.fileSizeBytes","debtorBlockedBy.key","receiptTemplate","totalGrossAmount","pushableLevels"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"reminderType":{"type":"string","enum":["reminders","donationReminders"]}},"required":["reminderType"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"receipts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"account":{"type":"integer","minimum":1,"maximum":999999999},"accountName":{"type":"string"},"accountNameSort":{"type":"string"},"receiptNumber":{"type":"string","maxLength":30},"receiptNumberSort":{"anyOf":[{"type":"number"},{"type":"null"}]},"receiptDate":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"receiptDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"isNet":{"type":"boolean"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"amount":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"quantity":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","maxLength":40},"unitAmount":{"type":"integer","minimum":0,"maximum":9999999999},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"description":{"type":"string","maxLength":200},"details":{"type":"string","maxLength":2000},"reference":{"type":"string","maxLength":64},"secondaryReference":{"type":"string","maxLength":64},"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"requiresSalesPeriod":{"type":"boolean"},"salesPeriod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"package":{"type":"object","properties":{"components":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["product","quantity","name"],"additionalProperties":false}}},"required":["components"],"additionalProperties":false}},"required":["costCenter1","costCenter2","amount"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}},"tags":{"type":"string array"},"paidAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDifference":{"anyOf":[{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},{"type":"null"}]},"payments":{"type":"array","items":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false}},"paymentSepaCreditTransfer":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]},"returnedPayments":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"date":{"type":"string"},"action":{"type":"string","enum":["retry","manual","cancel"]},"returnFee":{"type":"integer","minimum":0,"maximum":9999999999},"processingFee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"payment":{"type":"object","properties":{"paymentId":{"type":"string","minLength":1},"date":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"note":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false},{"type":"null"}]},"locked":{"type":"boolean"},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["paymentId","date","amount","account","cashTransaction","postings","note"],"additionalProperties":false},"postings":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"previousDueDate":{"type":"string"},"previousPaymentMethod":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaCreditTransfer":{"type":"object","properties":{"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"referenceId":{"type":"string","maxLength":7},"epcQRData":{"type":"string"},"sepaMsgId":{"anyOf":[{"type":"string","minLength":18,"maxLength":18},{"type":"null"}]}},"required":["cashAccount","referenceId","epcQRData","sepaMsgId"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"sepaMandateId":{"type":"string"},"sepaMandateSignatureDate":{"type":"string"},"accountHolderName":{"type":"string","maxLength":80},"accountHolderAddress":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sepaEndToEndId":{"type":"string","pattern":"REF([A-Z0-9]{21})CAMPAI"},"purpose":{"type":"string","maxLength":140},"sepaMsgId":{"anyOf":[{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},{"type":"null"}]},"batchBooking":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["iban","bic","sepaMandateId","sepaMandateSignatureDate","accountHolderName","accountHolderAddress","cashAccount","sepaEndToEndId","purpose","sepaMsgId","batchBooking"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]}},"required":["id","date","action","returnFee","processingFee","unpaidAmount"],"additionalProperties":false}},"draft":{"type":"boolean"},"completing":{"type":"boolean"},"refund":{"type":"boolean"},"refundReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"refundReceiptNumber":{"type":"string","maxLength":30},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"sendMethod":{"type":"string","enum":["none","email","postal"]},"dueDate":{"type":"string"},"deliveryDateType":{"anyOf":[{"type":"string","enum":["delivery","deliveryPeriod","service","servicePeriod"]},{"type":"null"}]},"deliveryDateStart":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryDateEnd":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":140},"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"discount":{"type":"integer","minimum":0,"maximum":9999999999},"discountType":{"type":"string","enum":["%","amount"]},"reminderStatus":{"type":"object","properties":{"level":{"anyOf":[{"type":"string","enum":["level1","level2","level3","level4"]},{"type":"null"}]},"reminderDueDateOverride":{"anyOf":[{"type":"string"},{"type":"null"}]},"fees":{"type":"integer","minimum":0,"maximum":9999999999},"reminders":{"type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["level1","level2","level3","level4"]},"date":{"type":"string"},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"unpaidAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["level","date","fee","unpaidAmount"],"additionalProperties":false}}},"required":["level","reminderDueDateOverride","fees","reminders"],"additionalProperties":false},"invoiceType":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking"]},"offerStatus":{"type":"string","enum":["open","accepted","rejected"]},"offerReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"offerReceiptNumber":{"type":"string","maxLength":30},"confirmationReceipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"confirmationReceiptNumber":{"type":"string","maxLength":30},"confirmationStatus":{"type":"string","enum":["open","finished"]},"doNotSendReceipt":{"type":"boolean"},"donationType":{"type":"string","enum":["cash","membershipFee","assetStock","refund"]},"donationNumber":{"type":"string"},"depositUsages":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"grossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"type":{"type":"string","enum":["payment","refund"]}},"required":["receipt","receiptNumber","grossAmount","type"],"additionalProperties":false}},"totalUsedDepositGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"canceledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"canceledBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"canceledReason":{"type":"string","maxLength":240},"cancelReceiptNumber":{"type":"string","maxLength":30},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"customerType":{"type":"string","enum":["debtor","customer","member","booking"]},"customerNumber":{"type":"array","items":{"type":"string","maxLength":24}},"totalFeesAmount":{"type":"integer","minimum":0,"maximum":9999999999},"totalAmountLeftToPay":{"type":"integer","minimum":0,"maximum":9999999999},"electronic":{"type":"boolean"},"supplierNumber":{"type":"string","maxLength":32},"debtorBlockedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"debtorBlockedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"receiptTemplate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"totalGrossAmount":{"type":"integer","minimum":0,"maximum":9999999999},"pushableLevels":{"type":"array","items":{"type":"string","enum":["level1","level2","level3","level4"]}}},"required":["_id","mandate","type","account","accountName","accountNameSort","receiptNumber","receiptNumberSort","receiptDate","receiptFile","receiptFileName","positions","notes","tags","archivedAt","archivedBy","totalGrossAmount","pushableLevels"],"additionalProperties":false}}},"required":["count","receipts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates":{"post":{"operationId":"finance-receipts-templates-createReceiptTemplate","summary":"Create receipt template","description":"Creates a new receipt template for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.read","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"fromTemplateId":{"type":"string"}},"required":["name","fromTemplateId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates/{templateId}":{"get":{"operationId":"finance-receipts-templates-getReceiptTemplate","summary":"Get receipt template","description":"Returns a specific receipt template with all of its details for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.read","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking","deposit","donation","offer","confirmation","reminder","donationReminder","returnedPayment"]},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":240},"standard":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"refundMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"refundSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]},"cancelMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"cancelSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]}},"required":["_id","type","name","description","standard","subject","message","refundMessage","refundSubject","cancelMessage","cancelSubject"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-receipts-templates-updateReceiptTemplate","summary":"Update receipt template","description":"Updates a specific receipt template for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.edit","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":240},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000},"refundMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"refundSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]},"cancelMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"cancelSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]},"standard":{"default":false,"type":"boolean"}},"required":["name","description","subject","message","refundMessage","refundSubject","cancelMessage","cancelSubject"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-receipts-templates-deleteReceiptTemplate","summary":"Delete receipt template","description":"Deletes a specific receipt template for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.remove","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates/list":{"post":{"operationId":"finance-receipts-templates-listReceiptTemplates","summary":"List receipt templates","description":"Returns a list of receipt templates for a given organization <br /><br /> \n### Required permissions:\n* #### receipt.read\n* #### receipt.remove","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","type","name","description","standard","subject","message","createdAt","refundMessage","refundSubject","cancelMessage","cancelSubject"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"types":{"type":"array","items":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking","deposit","donation","offer","confirmation","reminder","donationReminder","returnedPayment"]}},"standard":{"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"templates":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking","deposit","donation","offer","confirmation","reminder","donationReminder","returnedPayment"]},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":240},"standard":{"type":"boolean"},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"refundMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"refundSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]},"cancelMessage":{"anyOf":[{"type":"string","minLength":1,"maxLength":10000},{"type":"null"}]},"cancelSubject":{"anyOf":[{"type":"string","minLength":1,"maxLength":998},{"type":"null"}]}},"required":["_id","type","name","description","standard","subject","message","refundMessage","refundSubject","cancelMessage","cancelSubject"],"additionalProperties":false}}},"required":["count","templates"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates/{templateId}/content":{"get":{"operationId":"finance-receipts-templates-getReceiptTemplateContent","summary":"Get receipt template content","description":"Returns the contents of a specific receipt template for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.read","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema8"},"attachment":{"$ref":"#/components/schemas/__schema8"}},"required":["paper","attachment"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-receipts-templates-updateReceiptTemplateContent","summary":"Update receipt template content","description":"Updates the contents of a specific receipt template for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.edit","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema3"},"attachment":{"$ref":"#/components/schemas/__schema3"}},"required":["paper","attachment"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates/attachment":{"post":{"operationId":"finance-receipts-templates-updateReceiptsAttachment","summary":"Update templates attachment","description":"Updates the attachment of all receipt templates for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.edit","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attachment":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachmentMode":{"type":"string"},"pages":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["attachment","attachmentMode","pages"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/templates/{templateId}/content/restore":{"post":{"operationId":"finance-receipts-templates-restoreReceiptTemplateContent","summary":"Restore receipt template content","description":"Restores the contents of a specific receipt template to its default values for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.edit","tags":["finance / receipts / templates"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"templateId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/textBlocks":{"post":{"operationId":"finance-receipts-textBlocks-createReceiptTextBlock","summary":"Create receipt text block","description":"Creates a new receipt text block for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTextBlock.read","tags":["finance / receipts / textBlocks"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["title","intro","deliveryTerms","note"]},"receiptType":{"type":"string","enum":["invoice","deposit","donation","offer","confirmation","invoiceRefund"]},"title":{"type":"string","maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"note":{"type":"string","maxLength":2000},"standard":{"default":false,"type":"boolean"}},"required":["type","receiptType"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/dummy/textBlocks/list":{"post":{"operationId":"finance-receipts-textBlocks-listReceiptTextBlocks","summary":"List receipt text blocks","description":"Returns a list of receipt text blocks for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTextBlock.read","tags":["finance / receipts / textBlocks"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","type","receiptType","title","intro","deliveryTerms","note","standard","createdAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"type":{"type":"string","enum":["title","intro","deliveryTerms","note"]},"receiptType":{"type":"string","enum":["invoice","deposit","donation","offer","confirmation","invoiceRefund"]},"standard":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"textBlocks":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["title","intro","deliveryTerms","note"]},"receiptType":{"type":"string","enum":["invoice","deposit","donation","offer","confirmation","invoiceRefund"]},"title":{"type":"string","maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"note":{"type":"string","maxLength":2000},"standard":{"type":"boolean"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","type","receiptType","standard"],"additionalProperties":false}}},"required":["count","textBlocks"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/receipts/textBlocks/{blockId}":{"get":{"operationId":"finance-receipts-textBlocks-getReceiptTextBlock","summary":"Get receipt text block","description":"Returns a specific receipt text block with all of its details for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTextBlock.read","tags":["finance / receipts / textBlocks"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"blockId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["title","intro","deliveryTerms","note"]},"receiptType":{"type":"string","enum":["invoice","deposit","donation","offer","confirmation","invoiceRefund"]},"title":{"type":"string","maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"note":{"type":"string","maxLength":2000},"standard":{"type":"boolean"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","type","receiptType","standard"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-receipts-textBlocks-updateReceiptTextBlock","summary":"Update receipt text block","description":"Updates a specific receipt text block for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTextBlock.edit","tags":["finance / receipts / textBlocks"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"blockId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":30},"intro":{"type":"string","maxLength":2000},"deliveryTerms":{"type":"string","maxLength":255},"note":{"type":"string","maxLength":2000},"standard":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-receipts-textBlocks-deleteReceiptTextBlock","summary":"Delete receipt text block","description":"Deletes a specific receipt text block for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTextBlock.remove","tags":["finance / receipts / textBlocks"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"blockId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accountingPlan":{"get":{"operationId":"finance-accounting-getAccountingPlan","summary":"Get accounting plan","description":"Returns the accounting plan for the organization <br /><br /> \n### Required permissions:\n* #### accountingPlan.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"modifiedBefore","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},{"in":"query","name":"modifiedAfter","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"baseType":{"type":"string","enum":["TEST","SKR42EUR","SKR42GUV","SKR03GUV","SKR04GUV","SKR07EAR","SKR07GUV"]},"settings":{"type":"object","properties":{"accountDigits":{"type":"integer","minimum":1,"maximum":8},"accountDigitsSplitLast":{"type":"boolean"},"cashRegisterRange":{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"cashAccountRange":{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"debtorCreditorClearingAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"depositsClearingAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"debtorCollectingAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditorCollectingAccount":{"type":"integer","minimum":1,"maximum":999999999},"debtorInterestAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditorInterestAccount":{"type":"integer","minimum":1,"maximum":999999999},"debtorForwardingAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditorForwardingAccount":{"type":"integer","minimum":1,"maximum":999999999},"forwardingAccount":{"type":"integer","minimum":1,"maximum":999999999},"forwardingRange":{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"defaultRevenueAccount":{"type":"integer","minimum":1,"maximum":999999999},"defaultExpenseAccount":{"type":"integer","minimum":1,"maximum":999999999},"moneyTransactionCosts":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"preTaxCode":{"type":"string","minLength":1,"maxLength":5}},"required":["account","preTaxCode"],"additionalProperties":false},"transitAccount":{"type":"integer","minimum":1,"maximum":999999999},"moneyTransitAccount":{"type":"integer","minimum":1,"maximum":999999999},"depreciationAccounts":{"type":"object","properties":{"debit":{"type":"integer","minimum":1,"maximum":999999999},"credit":{"type":"integer","minimum":1,"maximum":999999999}},"required":["debit","credit"],"additionalProperties":false},"debtorAccountRange":{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"creditorAccountRange":{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"defaultEventRateAccount":{"type":"integer","minimum":1,"maximum":999999999},"defaultResourceRateAccount":{"type":"integer","minimum":1,"maximum":999999999},"defaultPunchCardAccount":{"type":"integer","minimum":1,"maximum":999999999},"defaultBookingServiceAccount":{"type":"integer","minimum":1,"maximum":999999999},"defaultPlanAccount":{"type":"integer","minimum":1,"maximum":999999999},"deductibleExpenseTaxAccounts":{"anyOf":[{"type":"object","properties":{"counterAccount":{"type":"integer","minimum":1,"maximum":999999999},"reversalAccount":{"type":"integer","minimum":1,"maximum":999999999}},"required":["counterAccount","reversalAccount"],"additionalProperties":false},{"type":"null"}]}},"required":["accountDigits","accountDigitsSplitLast","cashRegisterRange","cashAccountRange","debtorCreditorClearingAccount","depositsClearingAccount","debtorCollectingAccount","creditorCollectingAccount","debtorInterestAccount","creditorInterestAccount","debtorForwardingAccount","creditorForwardingAccount","forwardingAccount","forwardingRange","defaultRevenueAccount","defaultExpenseAccount","moneyTransactionCosts","transitAccount","moneyTransitAccount","depreciationAccounts","debtorAccountRange","creditorAccountRange","defaultEventRateAccount","defaultResourceRateAccount","defaultPunchCardAccount","defaultBookingServiceAccount","defaultPlanAccount","deductibleExpenseTaxAccounts"],"additionalProperties":false},"taxes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["pre","vat"]},"code":{"type":"string","minLength":1,"maxLength":5},"datevCode":{"type":"integer","minimum":1,"maximum":99},"rate":{"type":"integer","minimum":0,"maximum":99},"label":{"type":"string","minLength":1,"maxLength":18},"labelShort":{"type":"string","minLength":1,"maxLength":8},"builtIn":{"type":"boolean"},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"discountAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"reductionAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"depositAccount":{"type":"integer","minimum":1,"maximum":999999999},"pendingAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["type","code","datevCode","rate","label","labelShort","builtIn","account","discountAccount","reductionAccount","depositAccount","pendingAccount"],"additionalProperties":false}},"regions":{"type":"array","items":{"type":"object","properties":{"digit":{"type":"integer","minimum":1,"maximum":9},"label":{"type":"string","minLength":1,"maxLength":64},"hasTax":{"type":"boolean"}},"required":["digit","label","hasTax"],"additionalProperties":false}},"categories":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":1,"maximum":999999999},"to":{"type":"integer","minimum":1,"maximum":999999999},"label":{"type":"string","minLength":1,"maxLength":280},"func":{"anyOf":[{"type":"string","enum":["forward"]},{"type":"null"}]}},"required":["from","to","label","func"],"additionalProperties":false}},"ranges":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":1,"maximum":999999999},"to":{"type":"integer","minimum":1,"maximum":999999999},"group":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"required":["from","to","group"],"additionalProperties":false}},"accounts":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":999999999},"label":{"type":"string","minLength":1,"maxLength":200},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"datevAutomatic":{"type":"boolean"},"bookable":{"type":"boolean"},"builtIn":{"type":"boolean"}},"required":["number","label","taxCode","datevAutomatic","bookable","builtIn"],"additionalProperties":false}},"incomeStatement":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"title":{"type":"string","minLength":1,"maxLength":140},"lines":{"type":"array","items":{"$ref":"#/components/schemas/__schema9"}}},"required":["name","title","lines"],"additionalProperties":false}},"required":["baseType","settings","taxes","regions","categories","ranges","accounts","incomeStatement"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accountingPlan/incomeStatement/default":{"get":{"operationId":"finance-accounting-getDefaultAccountingPlanIncomeStatement","summary":"Get default income statement","description":"Returns the default income statement for the organization accounting plan base type <br /><br /> \n### Required permissions:\n* #### accountingPlan.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"title":{"type":"string","minLength":1,"maxLength":140},"lines":{"type":"array","items":{"$ref":"#/components/schemas/__schema9"}}},"required":["name","title","lines"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accountingPlan/settings/accounts":{"post":{"operationId":"finance-accounting-updateAccountingPlanSettingsAccounts","summary":"Update accounts","description":"Update various accounts for the accounting <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"debtorInterestAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditorInterestAccount":{"type":"integer","minimum":1,"maximum":999999999},"depositsClearingAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"moneyTransitAccount":{"type":"integer","minimum":1,"maximum":999999999},"moneyTransactionCosts":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"preTaxCode":{"type":"string","minLength":1,"maxLength":5}},"required":["account","preTaxCode"]}},"required":["debtorInterestAccount","creditorInterestAccount","depositsClearingAccount","moneyTransitAccount","moneyTransactionCosts"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accountingPlan/settings/accountDigits":{"post":{"operationId":"finance-accounting-updateAccountingPlanSettingsAccountDigits","summary":"Update account digits","description":"Update the number of account digits for the accounting <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountDigits":{"type":"integer","minimum":1,"maximum":8}},"required":["accountDigits"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accountingPlan/incomeStatement":{"post":{"operationId":"finance-accounting-updateAccountingPlanIncomeStatement","summary":"Update income statement","description":"Update the income statement template for the accounting plan <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"incomeStatement":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"title":{"type":"string","minLength":1,"maxLength":140},"lines":{"type":"array","items":{"$ref":"#/components/schemas/__schema4"}}},"required":["name","title","lines"]}},"required":["incomeStatement"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/balances/list":{"post":{"operationId":"finance-accounting-listBalances","summary":"List balances","description":"Returns a list of account balances for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["account","debit","credit","openingDebit","openingCredit","costCenterRegion","date"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":10000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"groupMode":{"default":{"groupBy":"account","groupByDate":false,"groupByCostCenterRegion":false},"type":"object","properties":{"groupBy":{"type":"string","enum":["account","accountType"]},"groupByDate":{"type":"boolean"},"groupByCostCenterRegion":{"type":"boolean"},"groupByPeriod":{"type":"boolean"}},"required":["groupBy"]},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"maxItems":100,"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"includeAllCostCenters":{"type":"boolean"},"includeOpeningBalances":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"accountBalances":{"type":"array","items":{"type":"object","properties":{"accountType":{"anyOf":[{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]},{"type":"null"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountName":{"type":"string"},"debit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"credit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingDebit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingCredit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"costCenterRegion":{"anyOf":[{"type":"integer","minimum":1,"maximum":9},{"type":"null"}]},"costCenters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"debit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"credit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingDebit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingCredit":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"balance":{"type":"integer","minimum":0,"maximum":9999999999},"balanceType":{"type":"string","enum":["none","debit","credit"]},"balanceAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingBalance":{"type":"integer","minimum":0,"maximum":9999999999},"openingBalanceType":{"type":"string","enum":["none","debit","credit"]},"openingBalanceAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["debit","credit"],"additionalProperties":false}},"balance":{"type":"integer","minimum":0,"maximum":9999999999},"balanceType":{"type":"string","enum":["none","debit","credit"]},"balanceAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"openingBalance":{"type":"integer","minimum":0,"maximum":9999999999},"openingBalanceType":{"type":"string","enum":["none","debit","credit"]},"openingBalanceAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"date":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["accountType","account","debit","credit","costCenterRegion","balance","balanceType","balanceAmount","date"],"additionalProperties":false}}},"required":["count","accountBalances"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/incomeStatement":{"post":{"operationId":"finance-accounting-getIncomeStatement","summary":"Get income statement","description":"Returns the income statement for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"includePreviousPeriod":{"default":false,"type":"boolean"},"includeAccountBalances":{"default":false,"type":"boolean"},"includeRegions":{"default":false,"type":"boolean"},"includeZero":{"default":false,"type":"boolean"},"showCostCenters":{"default":false,"type":"boolean"},"incomeStatement":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"title":{"type":"string","minLength":1,"maxLength":140},"lines":{"type":"array","items":{"$ref":"#/components/schemas/__schema4"}}},"required":["name","title","lines"]}},"required":["format","range"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/accountBalances":{"post":{"operationId":"finance-accounting-getAccountBalances","summary":"Get account balances","description":"Returns a statement of account balances for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"includePreviousPeriod":{"default":false,"type":"boolean"},"showCostCenters":{"default":false,"type":"boolean"},"groupBy":{"type":"string","enum":["region","costCenter","noBreak"]}},"required":["format","range","accountFilter","groupBy"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/trialBalances":{"post":{"operationId":"finance-accounting-getTrialBalances","summary":"Get trial balances","description":"Returns a trial balances for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"mergeRegions":{"default":false,"type":"boolean"},"showCostCenters":{"default":false,"type":"boolean"}},"required":["format","range","accountFilter"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/openItems":{"post":{"operationId":"finance-accounting-getOpenItems","summary":"Get open items","description":"Returns a list of items that were open on a selected date for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"openUntil":{"type":"string"},"accountType":{"type":"string","enum":["debtor","creditor"]},"receiptTypes":{"type":"array","items":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]}},"accounts":{"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"includePositions":{"default":false,"type":"boolean"},"sortBy":{"default":"account","type":"string","enum":["account","receipt"]},"offset":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["format","openUntil","accountType"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/costCenterBalances":{"post":{"operationId":"finance-accounting-getCostCenterBalances","summary":"Returns the cost center balances statement for a given mandate","description":"\n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["html","pdf","excel","csv"]},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"showCostCenters":{"default":false,"type":"boolean"}},"required":["format","range","accountFilter"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"data":{"type":"object","properties":{"content":{"type":"string"},"zip":{"type":"boolean"}},"required":["content"],"additionalProperties":false},"empty":{"type":"boolean"}},"required":["name","data","empty"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/taxes":{"post":{"operationId":"finance-accounting-taxes-createTax","summary":"Create tax","description":"Creates a new tax in the accounting plan <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting / taxes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"taxCode":{"type":"string","minLength":1,"maxLength":5},"type":{"type":"string","enum":["pre","vat"]},"datevCode":{"type":"integer","minimum":1,"maximum":99},"rate":{"type":"integer","minimum":0,"maximum":99},"label":{"type":"string","minLength":1,"maxLength":18},"labelShort":{"type":"string","minLength":1,"maxLength":8},"account":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"discountAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"reductionAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"depositAccount":{"type":"integer","minimum":1,"maximum":999999999},"pendingAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["taxCode","type","datevCode","rate","label","labelShort","depositAccount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["pre","vat"]},"code":{"type":"string","minLength":1,"maxLength":5},"datevCode":{"type":"integer","minimum":1,"maximum":99},"rate":{"type":"integer","minimum":0,"maximum":99},"label":{"type":"string","minLength":1,"maxLength":18},"labelShort":{"type":"string","minLength":1,"maxLength":8},"builtIn":{"type":"boolean"},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"discountAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"reductionAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"depositAccount":{"type":"integer","minimum":1,"maximum":999999999},"pendingAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["type","code","datevCode","rate","label","labelShort","builtIn","account","discountAccount","reductionAccount","depositAccount","pendingAccount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/taxes/{taxCode}":{"post":{"operationId":"finance-accounting-taxes-updateTax","summary":"Update tax","description":"Updates the tax settings for a given tax code <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting / taxes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"taxCode","schema":{"type":"string","minLength":1,"maxLength":5},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["pre","vat"]},"datevCode":{"type":"integer","minimum":1,"maximum":99},"rate":{"type":"integer","minimum":0,"maximum":99},"label":{"type":"string","minLength":1,"maxLength":18},"labelShort":{"type":"string","minLength":1,"maxLength":8},"account":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"discountAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"reductionAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"depositAccount":{"type":"integer","minimum":1,"maximum":999999999},"pendingAccount":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["type","datevCode","rate","label","labelShort","depositAccount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-accounting-taxes-deleteTax","summary":"Delete tax","description":"Deletes a tax from the accounting plan if not yet used in postings or receipts by given tax code <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting / taxes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"taxCode","schema":{"type":"string","minLength":1,"maxLength":5},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts":{"post":{"operationId":"finance-accounting-accounts-createAccount","summary":"Create account","description":"Adds a new account to the accounting plan <br /><br /> \n### Required permissions:\n* #### accountingPlan.insert","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":999999999},"label":{"type":"string","minLength":1,"maxLength":200},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"datevAutomatic":{"default":false,"type":"boolean"},"bookable":{"default":true,"type":"boolean"}},"required":["number","label","taxCode"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-accounting-accounts-deleteAccounts","summary":"Delete accounts","description":"Deletes multiple accounts from the accounting plan if they are not yet attached in receipts etc <br /><br /> \n### Required permissions:\n* #### accountingPlan.remove","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"accountNumbers","schema":{"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"accountNumber":{"type":"integer","minimum":1,"maximum":999999999},"error":{"type":"string"}},"required":["accountNumber","error"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts/{accountNumber}":{"post":{"operationId":"finance-accounting-accounts-updateAccount","summary":"Update account","description":"Updates an account from the accounting plan <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"accountNumber","schema":{"type":"integer","minimum":1,"maximum":999999999},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":200},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"datevAutomatic":{"type":"boolean"},"bookable":{"type":"boolean"}},"required":["label","taxCode","datevAutomatic","bookable"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-accounting-accounts-deleteAccount","summary":"Delete account","description":"Deletes an account from the accounting plan if not yet attached in receipts etc <br /><br /> \n### Required permissions:\n* #### accountingPlan.remove","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"accountNumber","schema":{"type":"integer","minimum":1,"maximum":999999999},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts/bookable":{"post":{"operationId":"finance-accounting-accounts-updateAccountsBookable","summary":"Update account bookable state","description":"Updates the bookable state for multiple accounts in the accounting plan <br /><br /> \n### Required permissions:\n* #### accountingPlan.edit","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountNumbers":{"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"bookable":{"type":"boolean"}},"required":["accountNumbers","bookable"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"accountNumber":{"type":"integer","minimum":1,"maximum":999999999},"error":{"type":"string"}},"required":["accountNumber","error"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts/import/datev":{"post":{"operationId":"finance-accounting-accounts-importDatevAccounts","summary":"Import accounts from Datev","description":"Imports accounts from a Datev \"Sachkontenbeschriftungen\" CSV file <br /><br /> \n### Required permissions:\n* #### accountingPlan.insert\n* #### accountingPlan.edit","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csvString":{"type":"string"}},"required":["csvString"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"invalidRows":{"type":"array","items":{"type":"object","properties":{"row":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cell":{"type":"string"},"value":{"type":"string"}},"required":["row","cell","value"],"additionalProperties":false}},"success":{"type":"boolean"},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991},"added":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["invalidRows","success","updated","added"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/accounts/export/datev":{"post":{"operationId":"finance-accounting-accounts-exportDatevAccounts","summary":"Export accounts to Datev","description":"Exports accounts to a Datev \"Sachkontenbeschriftungen\" CSV file <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### accountingPlan.read","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"onlyCustomAccounts":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"accounts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"csv":{"type":"string"}},"required":["accounts","csv"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts/export":{"post":{"operationId":"finance-accounting-accounts-exportAccounts","summary":"Export accounts","description":"Exports accounts from the accounting plan to a CSV file <br /><br /> \n### Required permissions:\n* #### accountingPlan.read","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"accounts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"csv":{"type":"string"}},"required":["accounts","csv"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/accounting/accounts/import":{"post":{"operationId":"finance-accounting-accounts-importAccounts","summary":"Import accounts","description":"Import accounts to the accounting plan from a CSV file. The \"mode\" field controls how accounts are imported: \"upsert\" will add or update accounts, while \"replace\" will replace all accounts with the imported ones: custom accounts that are not included in the imported file will be removed, and built-in accounts that are not included will be marked as not bookable. <br /><br /> \n### Required permissions:\n* #### accountingPlan.insert\n* #### accountingPlan.edit","tags":["finance / accounting / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csvString":{"type":"string"},"mode":{"type":"string","enum":["upsert","replace"]}},"required":["csvString","mode"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"invalidRows":{"type":"array","items":{"type":"object","properties":{"row":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cell":{"type":"string"},"value":{"type":"string"},"error":{"type":"string"}},"required":["row","cell","value","error"],"additionalProperties":false}},"success":{"type":"boolean"},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991},"added":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["invalidRows","success","updated","added","removed"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/receipts":{"post":{"operationId":"finance-accounting-receipts-createReceipt","summary":"Create posting receipt","description":"Creates a new posting receipt for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptNumber":{"type":"string"},"receiptFile":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"receiptFileName":{"default":"","type":"string"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"isNet":{"default":false,"type":"boolean"},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":200}},"required":["debitAccount","creditAccount","amount","receiptDate"]}},"cashTransactionId":{"type":"string"}},"required":["positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"postingIds":{"type":"array","items":{"type":"string"}}},"required":["_id","postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/receipts/list":{"post":{"operationId":"finance-accounting-receipts-listReceipts","summary":"List posting receipts","description":"Returns a list of posting receipts for given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["receiptNumber","canceledAt","createdAt","receiptDate"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"dueFromDate":{"type":"string"},"dueToDate":{"type":"string"},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"reversed":{"type":"boolean"},"canceled":{"type":"boolean"},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"receipts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":200}},"required":["debitAccount","creditAccount","isNet","amount","taxCode","costCenter1","costCenter2","receiptDate","deliveryDate","description"],"additionalProperties":false}},"canceledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"canceledBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"canceledReason":{"type":"string","maxLength":240},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string"}},"required":["_id","mandate","receiptNumber","receiptFile","receiptFileName","cashTransaction","positions","receiptDate","deliveryDate","description"],"additionalProperties":false}}},"required":["count","receipts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/receipts/{receiptId}":{"get":{"operationId":"finance-accounting-receipts-getReceipt","summary":"Get posting receipt","description":"Returns a specific posting receipt by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"isNet":{"type":"boolean"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":200}},"required":["debitAccount","creditAccount","isNet","amount","taxCode","costCenter1","costCenter2","receiptDate","deliveryDate","description"],"additionalProperties":false}},"canceledAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"canceledBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"canceledReason":{"type":"string","maxLength":240},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string"}},"required":["_id","mandate","receiptNumber","receiptFile","receiptFileName","cashTransaction","positions","receiptDate","deliveryDate","description"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-accounting-receipts-updateReceipt","summary":"Update posting receipt","description":"Updates a specific posting receipt by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptNumber":{"type":"string"},"receiptFile":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","format":"uri"}]},"receiptFileName":{"default":"","type":"string"},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"receiptDate":{"type":"string"},"isNet":{"default":false,"type":"boolean"},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":200}},"required":["debitAccount","creditAccount","amount","receiptDate"]}},"cashTransactionId":{"type":"string"}},"required":["receiptNumber","positions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"postingIds":{"type":"array","items":{"type":"string"}}},"required":["_id","postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-accounting-receipts-deleteReceipt","summary":"Delete posting receipts","description":"Deletes a specific posting receipt by its id if not committed yet <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.remove","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/receipts/{receiptId}/cancel":{"delete":{"operationId":"finance-accounting-receipts-cancelReceipt","summary":"Cancel posting receipt","description":"Cancels a specific posting receipt by its id with a reason <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.remove","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"receiptId","schema":{"type":"string"},"required":true},{"in":"query","name":"reason","schema":{"default":"","type":"string","maxLength":240}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["postingIds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/scanReceipt":{"post":{"operationId":"finance-accounting-receipts-scanReceipt","summary":"Scan posting receipt","description":"Scans a posting receipt PDF/Image file and returns its information <br /><br /> \n### Required permissions:\n* #### receipt.insert","tags":["finance / accounting / receipts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["fileId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"receiptDate":{"type":"string"},"receiptNumber":{"type":"string"},"deliveryDate":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"isNet":{"type":"boolean"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"positions":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","maxLength":200},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"isNet":{"type":"boolean"}},"additionalProperties":false}},"paymentInfo":{"type":"object","properties":{"source":{"type":"string","enum":["girocode","text"]},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"name":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"reference":{"type":"string"},"subject":{"type":"string"}},"required":["source"],"additionalProperties":false}},"additionalProperties":false},{"type":"null"}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings":{"post":{"operationId":"finance-accounting-postings-createPosting","summary":"Create posting","description":"Creates a new posting for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":1000},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"receiptDate":{"type":"string"},"receiptNumber":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"cashTransactionId":{"type":"string"}},"required":["text","amount","debitAccount","creditAccount","receiptDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/accounting/postings/revenue":{"post":{"operationId":"finance-accounting-postings-createRevenuePosting","summary":"Create revenue posting","description":"Creates a new revenue posting for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":1000},"receiptDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashAccount":{"type":"integer","minimum":1,"maximum":999999999},"cashTransactionId":{"type":"string"},"revenueAccount":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string"},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["text","amount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/accounting/postings/expense":{"post":{"operationId":"finance-accounting-postings-createExpensePosting","summary":"Create expense posting","description":"Creates a new expense posting for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":1000},"receiptDate":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"cashAccount":{"type":"integer","minimum":1,"maximum":999999999},"cashTransactionId":{"type":"string"},"expenseAccount":{"type":"integer","minimum":1,"maximum":999999999},"receiptNumber":{"type":"string"},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["text","amount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/accounting/postings/moneyTransit":{"post":{"operationId":"finance-accounting-postings-createMoneyTransit","summary":"Create money transit","description":"Creates a new money transit transaction for the given mandate. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert\n### Permissions if fromCashTransactionId or toCashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fromAccount":{"type":"integer","minimum":1,"maximum":999999999},"toAccount":{"type":"integer","minimum":1,"maximum":999999999},"fromDate":{"type":"string"},"toDate":{"type":"string"},"fromCashTransactionId":{"type":"string"},"toCashTransactionId":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"text":{"default":"","type":"string","maxLength":1000}},"required":["fromAccount","toAccount","fromDate","toDate","amount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"fromPostingId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"toPostingId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["fromPostingId","toPostingId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/list":{"post":{"operationId":"finance-accounting-postings-listPostings","summary":"List postings","description":"Gets a list of postings for the mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","reverse","number","receiptDate","deliveryDate","receiptNumber","receiptFile","receiptFileName","text","amount","debitAccount","creditAccount","debitAccountName","creditAccountName","taxCode","taxAmount","taxDebitAccount","taxCreditAccount","costCenter1","costCenter2","committedAt","committedBy.name","committedBy.type","committedBy.userId","committedBy.image.resource","committedBy.image.fileName","committedBy.image.contentType","committedBy.image.fileSizeBytes","committedBy.key","createdAt","source","sourceId","isGross","canDelete"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"reversed":{"type":"boolean"},"committed":{"type":"boolean"},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"postingIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"postings":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"reverse":{"type":"boolean"},"number":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"receiptNumber":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"text":{"type":"string","maxLength":1000},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"debitAccountName":{"type":"string"},"creditAccountName":{"type":"string"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"taxAmount":{"anyOf":[{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},{"type":"null"}]},"taxDebitAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"taxCreditAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"committedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"source":{"anyOf":[{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation","cashRegister","cashTransaction","datevImport","postingReceipt","fixedAsset","forward"]},{"type":"null"}]},"sourceId":{"anyOf":[{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}]},"isGross":{"type":"boolean"},"canDelete":{"type":"boolean"}},"required":["_id","mandate","reverse","number","receiptDate","deliveryDate","receiptNumber","receiptFile","receiptFileName","text","amount","debitAccount","creditAccount","taxCode","taxAmount","taxDebitAccount","taxCreditAccount","costCenter1","costCenter2","committedAt","committedBy","source","sourceId","isGross","canDelete"],"additionalProperties":false}}},"required":["count","postings"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/export":{"post":{"operationId":"finance-accounting-postings-exportPostings","summary":"Export postings","description":"Exports a list of postings for given mandate as an excel or csv file <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"reversed":{"type":"boolean"},"committed":{"type":"boolean"},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","reverse","number","receiptDate","deliveryDate","receiptNumber","receiptFile","receiptFileName","text","amount","debitAccount","creditAccount","debitAccountName","creditAccountName","taxCode","taxAmount","taxDebitAccount","taxCreditAccount","costCenter1","costCenter2","committedAt","committedBy.name","committedBy.type","committedBy.userId","committedBy.image.resource","committedBy.image.fileName","committedBy.image.contentType","committedBy.image.fileSizeBytes","committedBy.key","createdAt","source","sourceId","isGross","canDelete"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/list/export":{"post":{"operationId":"finance-accounting-postings-exportCashRegisterPostings","summary":"Export cash register postings","description":"Exports a list of cash register postings for the mandate to a CSV file <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","reverse","number","receiptDate","deliveryDate","receiptNumber","receiptFile","receiptFileName","text","amount","debitAccount","creditAccount","debitAccountName","creditAccountName","taxCode","taxAmount","taxDebitAccount","taxCreditAccount","costCenter1","costCenter2","committedAt","committedBy.name","committedBy.type","committedBy.userId","committedBy.image.resource","committedBy.image.fileName","committedBy.image.contentType","committedBy.image.fileSizeBytes","committedBy.key","createdAt","source","sourceId","isGross","canDelete"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"searchTerm":{"type":"string"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"reversed":{"type":"boolean"},"committed":{"type":"boolean"},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"cashRegisterId":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]}},"required":["cashRegisterId","range"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"postings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"csv":{"type":"string"}},"required":["postings","csv"],"additionalProperties":false},{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/{postingId}":{"get":{"operationId":"finance-accounting-postings-getPosting","summary":"Get posting","description":"Returns a specific posting by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"reverse":{"type":"boolean"},"number":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"receiptNumber":{"type":"string"},"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"},"text":{"type":"string","maxLength":1000},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"debitAccountName":{"type":"string"},"creditAccountName":{"type":"string"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"taxAmount":{"anyOf":[{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},{"type":"null"}]},"taxDebitAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"taxCreditAccount":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"committedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"source":{"anyOf":[{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation","cashRegister","cashTransaction","datevImport","postingReceipt","fixedAsset","forward"]},{"type":"null"}]},"sourceId":{"anyOf":[{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}]},"isGross":{"type":"boolean"},"canDelete":{"type":"boolean"}},"required":["_id","mandate","reverse","number","receiptDate","deliveryDate","receiptNumber","receiptFile","receiptFileName","text","amount","debitAccount","creditAccount","taxCode","taxAmount","taxDebitAccount","taxCreditAccount","costCenter1","costCenter2","committedAt","committedBy","source","sourceId","isGross","canDelete"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-accounting-postings-deletePosting","summary":"Deletes posting","description":"Deletes a specific posting by its id if not committed yet <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.remove","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"put":{"operationId":"finance-accounting-postings-editPosting","summary":"Edit posting","description":"Updates information of an existing posting by its id with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.edit","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptNumber":{"type":"string"},"text":{"type":"string","maxLength":1000},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"receiptDate":{"type":"string"},"deliveryDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"taxCode":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"default":null,"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["receiptNumber","text","amount","debitAccount","creditAccount","receiptDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/{postingId}/reverse":{"post":{"operationId":"finance-accounting-postings-reversePosting","summary":"Reverse commited posting","description":"Reveres a specific posting by its id which was already committed by creating a reverse booking for it. This will create a new posting with the reverse amount. Can only reverse up to 500 postings at a time. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/commits":{"post":{"operationId":"finance-accounting-postings-commitPostings","summary":"Commit postings","description":"Commits all postings until a given date for a given mandate. The commit will be based on either the delivery or the receipt date of the postings. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.edit","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"commitTo":{"type":"string"}},"required":["commitTo"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"committedCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["committedCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/commits/list":{"post":{"operationId":"finance-accounting-postings-listPostingsCommits","summary":"List posting commits","description":"Gets a list of posting commits for the mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","committedCount","committedTo","committedBy.name","committedBy.type","committedBy.userId","committedBy.image.resource","committedBy.image.fileName","committedBy.image.contentType","committedBy.image.fileSizeBytes","committedBy.key","createdAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"fromDate":{"type":"string"},"toDate":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"commits":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"committedCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"committedTo":{"type":"string"},"committedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","committedCount","committedTo","committedBy"],"additionalProperties":false}}},"required":["count","commits"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/forwardBalances":{"post":{"operationId":"finance-accounting-postings-forwardBalances","summary":"Forward balances","description":"Forwards balances from a previous fiscal year into a given one for a given mandate. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read\n* #### posting.insert\n* #### posting.edit","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fiscalYear":{"type":"integer","minimum":2000,"maximum":3000},"force":{"type":"boolean"}},"required":["fiscalYear","force"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/import/datev":{"post":{"operationId":"finance-accounting-postings-importDatevPostings","summary":"Import postings from Datev","description":"Imports postings from a Datev \"Buchungsstapel\" CSV file for given mandate. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.insert","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csvString":{"type":"string"},"quirksMode":{"default":false,"type":"boolean"}},"required":["csvString"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"missingAccountNumbers":{"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},"missingCostCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"invalidBookingKeys":{"type":"array","items":{"type":"string"}},"invalidRows":{"type":"array","items":{"type":"object","properties":{"row":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cell":{"type":"string"},"value":{"type":"string"}},"required":["row","cell","value"],"additionalProperties":false}},"postings":{"type":"integer","minimum":0,"maximum":9007199254740991},"success":{"type":"string","enum":["none","partial","full"]}},"required":["missingAccountNumbers","missingCostCenters","invalidBookingKeys","invalidRows","postings","success"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/export/datev":{"post":{"operationId":"finance-accounting-postings-exportDatevPostings","summary":"Export postings to Datev","description":"Exports postings to a Datev \"Buchungsstapel\" CSV file. If more than 1000 records are found, it will be sent via email. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"postingsQuery":{"type":"object","properties":{"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"accountFilter":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string","enum":["capitalAsset","liquidAsset","cash","equityCapital","debtCapital","revenue","expense","static","staticDebit","staticCredit","debtor","creditor"]}},"types":{"type":"array","items":{"type":"string","enum":["asset","liability","revenue","expense","debtor","creditor","misc"]}},"classes":{"type":"array","items":{"type":"string","enum":["permanent","temporary","person","misc"]}},"accounts":{"type":"array","items":{"anyOf":[{"minItems":2,"maxItems":2,"type":"array","items":{"type":"integer","minimum":1,"maximum":999999999}},{"type":"integer","minimum":1,"maximum":999999999}]}},"accountName":{"type":"string"}}},"reversed":{"type":"boolean"},"committed":{"type":"boolean"},"costCenterRegion":{"type":"integer","minimum":1,"maximum":9},"costCenters":{"type":"array","items":{"type":"number","minimum":1,"maximum":99999999}},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"postingsExportOptions":{"default":{"useCollectiveAccountForDebtors":false,"useCollectiveAccountForCreditors":false,"merge":false},"type":"object","properties":{"useCollectiveAccountForDebtors":{"type":"boolean"},"useCollectiveAccountForCreditors":{"type":"boolean"},"merge":{"type":"boolean"}},"required":["useCollectiveAccountForDebtors","useCollectiveAccountForCreditors","merge"]}},"required":["range"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"postings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"csv":{"anyOf":[{"type":"array","items":{"type":"array","items":{"type":"string"}}},{"type":"string"}]},"fileName":{"type":"string"}},"required":["postings","csv","fileName"],"additionalProperties":false},{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/{postingId}/download":{"get":{"operationId":"finance-accounting-postings-getReceiptDownloadUrl","summary":"Get posting receipt download URL","description":"Returns the download URL of the receipt document for a posting by its id. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.read","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"fileName":{"type":"string"}},"required":["url","fileName"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/accounting/postings/{postingId}/receiptFile":{"post":{"operationId":"finance-accounting-postings-updatePostingReceiptFile","summary":"Update posting receipt file","description":"Updates the posting receipt file contents and name for a posting by its id. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### posting.edit","tags":["finance / accounting / postings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"postingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptFile":{"type":"string"},"receiptFileName":{"default":"","type":"string"}},"required":["receiptFile"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"receiptFile":{"type":"string"},"receiptFileName":{"type":"string"}},"required":["receiptFile","receiptFileName"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/cash/accounts/{cashAccountId}/linkFinApiAccount":{"post":{"operationId":"finance-cash-accounts-linkFinApiAccount","summary":"Link FinAPI account","description":"Links a detached cash account to a FinAPI account at the same bank with the same IBAN. <br /><br /> \n### Required permissions:\n* #### cashAccount.edit","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["accountId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts":{"post":{"operationId":"finance-cash-accounts-createCashAccount","summary":"Create cash account","description":"Creates a new cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.insert","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","enum":["bank","paypal","stripe"]},"name":{"type":"string","minLength":1,"maxLength":32},"account":{"type":"integer","minimum":1,"maximum":999999999},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"ownerName":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"bankName":{"type":"string","minLength":1,"maxLength":100},"sepaCreditTransfersBatchSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sepaDirectDebitsBatchSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"batchBooking":{"type":"boolean"},"directDebitSubmissionMethod":{"type":"string","enum":["xml","online"]},"creditTransferSubmissionMethod":{"type":"string","enum":["xml","online"]},"finApiConnection":{"type":"object","properties":{"connectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bankId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"hasSepaDirectDebit":{"type":"boolean"},"hasSepaCreditTransfer":{"type":"boolean"},"transactionsStartDate":{"type":"string"}},"required":["connectionId","accountId","bankId","hasSepaDirectDebit","hasSepaCreditTransfer","transactionsStartDate"]}},"required":["source","name","account","balance","batchBooking","directDebitSubmissionMethod","creditTransferSubmissionMethod"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/list":{"post":{"operationId":"finance-cash-accounts-listCashAccounts","summary":"List cash accounts","description":"Returns a list of cash accounts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.read","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","source","connected","name","account","balance","unassigned","proposals","synchronizedAt","archivedAt","archivedBy.name","archivedBy.type","archivedBy.userId","archivedBy.image.resource","archivedBy.image.fileName","archivedBy.image.contentType","archivedBy.image.fileSizeBytes","archivedBy.key","ownerName","iban","bic","bankName","sepaCreditTransfersBatchSize","sepaDirectDebitsBatchSize","finApiConnection.connectionId","finApiConnection.accountId","finApiConnection.bankId","finApiConnection.hasSepaDirectDebit","finApiConnection.hasSepaCreditTransfer","finApiConnection.status","finApiConnection.transactionsStartDate","batchBooking","directDebitSubmissionMethod","creditTransferSubmissionMethod"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"source":{"type":"string","enum":["bank","paypal","stripe"]},"archived":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"cashAccounts":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"source":{"type":"string","enum":["bank","paypal","stripe"]},"connected":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":32},"account":{"type":"integer","minimum":1,"maximum":999999999},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"unassigned":{"type":"integer","minimum":0,"maximum":9007199254740991},"proposals":{"type":"integer","minimum":0,"maximum":9007199254740991},"synchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"ownerName":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"bankName":{"type":"string","minLength":1,"maxLength":100},"sepaCreditTransfersBatchSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sepaDirectDebitsBatchSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"finApiConnection":{"anyOf":[{"type":"object","properties":{"connectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bankId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"hasSepaDirectDebit":{"type":"boolean"},"hasSepaCreditTransfer":{"type":"boolean"},"status":{"type":"string","enum":["syncing","synced","unsynced","detached"]},"transactionsStartDate":{"type":"string"}},"required":["connectionId","accountId","bankId","hasSepaDirectDebit","hasSepaCreditTransfer","status","transactionsStartDate"],"additionalProperties":false},{"type":"null"}]},"batchBooking":{"type":"boolean"},"directDebitSubmissionMethod":{"type":"string","enum":["xml","online"]},"creditTransferSubmissionMethod":{"type":"string","enum":["xml","online"]}},"required":["_id","mandate","source","connected","name","account","balance","unassigned","proposals","synchronizedAt","archivedAt","archivedBy","batchBooking","directDebitSubmissionMethod","creditTransferSubmissionMethod"],"additionalProperties":false}}},"required":["count","cashAccounts"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/{cashAccountId}":{"get":{"operationId":"finance-cash-accounts-getCashAccount","summary":"Get cash account","description":"Returns a specific cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.read","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"source":{"type":"string","enum":["bank","paypal","stripe"]},"connected":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":32},"account":{"type":"integer","minimum":1,"maximum":999999999},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"unassigned":{"type":"integer","minimum":0,"maximum":9007199254740991},"proposals":{"type":"integer","minimum":0,"maximum":9007199254740991},"synchronizedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"archivedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"ownerName":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"bankName":{"type":"string","minLength":1,"maxLength":100},"sepaCreditTransfersBatchSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sepaDirectDebitsBatchSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"finApiConnection":{"anyOf":[{"type":"object","properties":{"connectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bankId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"hasSepaDirectDebit":{"type":"boolean"},"hasSepaCreditTransfer":{"type":"boolean"},"status":{"type":"string","enum":["syncing","synced","unsynced","detached"]},"transactionsStartDate":{"type":"string"}},"required":["connectionId","accountId","bankId","hasSepaDirectDebit","hasSepaCreditTransfer","status","transactionsStartDate"],"additionalProperties":false},{"type":"null"}]},"batchBooking":{"type":"boolean"},"directDebitSubmissionMethod":{"type":"string","enum":["xml","online"]},"creditTransferSubmissionMethod":{"type":"string","enum":["xml","online"]}},"required":["_id","mandate","source","connected","name","account","balance","unassigned","proposals","synchronizedAt","archivedAt","archivedBy","batchBooking","directDebitSubmissionMethod","creditTransferSubmissionMethod"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-cash-accounts-updateCashAccount","summary":"Update cash account","description":"Updates certain settings of a specific cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.edit","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"ownerName":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"bankName":{"type":"string","minLength":1,"maxLength":100},"sepaCreditTransfersBatchSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sepaDirectDebitsBatchSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"batchBooking":{"type":"boolean"},"directDebitSubmissionMethod":{"type":"string","enum":["xml","online"]},"creditTransferSubmissionMethod":{"type":"string","enum":["xml","online"]}},"required":["name","balance","batchBooking","directDebitSubmissionMethod","creditTransferSubmissionMethod"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-accounts-deleteCashAccount","summary":"Delete cash account","description":"Deletes a specific cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.insert","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/{cashAccountId}/deleteInfo":{"get":{"operationId":"finance-cash-accounts-getCashAccountDeleteInfo","summary":"Get cash account delete info","description":"Returns whether a specific cash account can be deleted for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.insert","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"canDelete":{"type":"boolean"}},"required":["canDelete"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/{cashAccountId}/archive":{"post":{"operationId":"finance-cash-accounts-archiveCashAccount","summary":"Archive cash account","description":"Archives a specific cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.insert","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/{cashAccountId}/unarchive":{"post":{"operationId":"finance-cash-accounts-unarchiveCashAccount","summary":"Unarchive cash account","description":"Unarchives a specific cash account for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.insert","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/accounts/{cashAccountId}/sync":{"get":{"operationId":"finance-cash-accounts-synchronizeCashAccount","summary":"Synchronize cash account","description":"Synchronizes a connected cash account for a given mandate and returns the web form URL and ID if needed <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.edit","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashAccountId","schema":{"type":"string"},"required":true},{"in":"query","name":"requestBankUpdate","schema":{"type":"boolean"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"webFormUrl":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"webFormId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["webFormUrl","webFormId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/cash/accounts/refreshCapabilities":{"post":{"operationId":"finance-cash-accounts-refreshCapabilities","summary":"Refresh capabilities","description":"Refreshes the capabilities of the cash accounts for a given bank connection <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashAccount.edit","tags":["finance / cash / accounts"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bankConnectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["bankConnectionId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/registers":{"post":{"operationId":"finance-cash-registers-createCashRegister","summary":"Create cash register","description":"Creates a new cash register for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashRegister.insert","tags":["finance / cash / registers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"account":{"type":"integer","minimum":1,"maximum":999999999},"openingDate":{"type":"string"},"initialAmount":{"type":"object","properties":{"amount":{"type":"integer","minimum":0,"maximum":9999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["amount","costCenter1","costCenter2"]}},"required":["name","account","openingDate","initialAmount"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/registers/list":{"post":{"operationId":"finance-cash-registers-listCashRegisters","summary":"List cash registers","description":"Returns a list of cash registers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashRegister.read","tags":["finance / cash / registers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","name","account","openingDate"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"cashRegisterId":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"cashRegisters":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":32},"account":{"type":"integer","minimum":1,"maximum":999999999},"openingDate":{"type":"string"}},"required":["_id","mandate","name","account","openingDate"],"additionalProperties":false}}},"required":["count","cashRegisters"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/registers/{cashRegisterId}":{"post":{"operationId":"finance-cash-registers-updateCashRegister","summary":"Update cash register","description":"Updates certain settings of a specific cash register for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashRegister.edit","tags":["finance / cash / registers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashRegisterId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":32},"openingDate":{"type":"string"}},"required":["name","openingDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-registers-deleteCashRegister","summary":"Delete cash register","description":"Deletes a specific cash register for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashRegister.insert","tags":["finance / cash / registers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashRegisterId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/rules":{"post":{"operationId":"finance-cash-transactions-createCashTransactionRule","summary":"Create cash transaction rule","description":"Creates a new cash transaction rule for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransactionRule.insert","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"matcher":{"type":"object","properties":{"typeMatch":{"type":"string","enum":["revenue","expense"]},"amount":{"type":"object","properties":{"value":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"comparator":{"type":"string","enum":["equals","lessThan","lessEqual","greaterThan","greaterEqual"]}},"required":["value","comparator"]},"purpose":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"]},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"]}],"type":"object"},"counterpartName":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"]},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"]}],"type":"object"},"counterpartAccount":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"]},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"]}],"type":"object"}},"required":["typeMatch"]},"positions":{"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"share":{"type":"number","minimum":0,"maximum":100}},"required":["account","taxCode","costCenter1","costCenter2","share"]}},"outcome":{"type":"string","enum":["postingReceipt","donationProposal"]}},"required":["matcher","positions","outcome"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/rules/list":{"post":{"operationId":"finance-cash-transactions-listCashTransactionRules","summary":"List cash transaction rules","description":"Returns a list of cash transaction rules for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransactionRule.read","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","matcher.typeMatch","matcher.amount.value","matcher.amount.comparator","matcher.purpose.value","matcher.purpose.comparator","matcher.counterpartName.value","matcher.counterpartName.comparator","matcher.counterpartAccount.value","matcher.counterpartAccount.comparator","positions","outcome","createdAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"cashTransactionRuleId":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"cashTransactionRules":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"matcher":{"type":"object","properties":{"typeMatch":{"type":"string","enum":["revenue","expense"]},"amount":{"type":"object","properties":{"value":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"comparator":{"type":"string","enum":["equals","lessThan","lessEqual","greaterThan","greaterEqual"]}},"required":["value","comparator"],"additionalProperties":false},"purpose":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"],"additionalProperties":false},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"],"additionalProperties":false}],"type":"object"},"counterpartName":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"],"additionalProperties":false},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"],"additionalProperties":false}],"type":"object"},"counterpartAccount":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","const":"regex"}},"required":["value","comparator"],"additionalProperties":false},{"type":"object","properties":{"value":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["equals","contains","startsWith","endsWith"]}},"required":["value","comparator"],"additionalProperties":false}],"type":"object"}},"required":["typeMatch"],"additionalProperties":false},"positions":{"type":"array","items":{"type":"object","properties":{"account":{"type":"integer","minimum":1,"maximum":999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"share":{"type":"number","minimum":0,"maximum":100}},"required":["account","taxCode","costCenter1","costCenter2","share"],"additionalProperties":false}},"outcome":{"type":"string","enum":["postingReceipt","donationProposal"]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","matcher","positions","outcome"],"additionalProperties":false}}},"required":["count","cashTransactionRules"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/rules/{cashTransactionRuleId}":{"delete":{"operationId":"finance-cash-transactions-deleteCashTransactionRule","summary":"Delete cash transaction rule","description":"Deletes a specific cash transaction rule for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransactionRule.remove","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionRuleId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/bulk":{"post":{"operationId":"finance-cash-transactions-bulkCreateCashTransactions","summary":"Bulk create cash transactions","description":"Adds transactions in bulk to a cash account for a given mandate. Will ignore duplicates. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.insert","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashAccountId":{"type":"string"},"transactions":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"purpose":{"default":"","type":"string","maxLength":1000},"info":{"default":"","type":"string","maxLength":200},"counterpartName":{"default":"","type":"string","maxLength":200},"counterpartAccount":{"default":"","type":"string"},"counterpartMandateId":{"type":"string","maxLength":35},"sepaEndToEndId":{"default":"","type":"string","maxLength":35},"sepaMsgId":{"default":"","type":"string","maxLength":35},"finApiTransactionId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isPotentialDuplicate":{"type":"boolean"}},"required":["date","amount"]}}},"required":["cashAccountId","transactions"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"integer","minimum":0,"maximum":9007199254740991},"duplicates":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceChange":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["inserted","duplicates","failed","balanceChange"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/list":{"post":{"operationId":"finance-cash-transactions-listCashTransactions","summary":"List cash transactions","description":"Returns a list of cash transactions for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.read\n### Permissions if cashTransactionRuleId is provided:\n* #### cashTransactionRule.read\n","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","status","state","cashAccount","date","amount","purpose","info","counterpartName","counterpartAccount","assignments","proposals","proposing","dispute.type","dispute.id","dispute.provider","dispute.status","dispute.reason","dispute.evidenceSubmission.dueBy","dispute.evidenceSubmission.submitted","dispute.cashTransactionOrigin._id","dispute.returnedPayment.receiptId","dispute.returnedPayment.receiptType","dispute.returnedPayment.receiptNumber","dispute.returnedPayment.receiptDate","dispute.returnedPayment.accountName","dispute.returnedPayment.totalAmount","dispute.returnedPayment.paidAt","dispute.returnedPayment.feeAmount","dispute.returnedPayment.account","dispute.returnedPayment.sendMethod","dispute.returnedPayment.email","dispute.returnedPayment.address.country","dispute.returnedPayment.address.state","dispute.returnedPayment.address.zip","dispute.returnedPayment.address.city","dispute.returnedPayment.address.addressLine","dispute.returnedPayment.address.details1","dispute.returnedPayment.address.details2","jobInfo.key","jobInfo.active","jobInfo.error","isPotentialDuplicate"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"cashAccountId":{"type":"string"},"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"view":{"type":"string","enum":["unassigned","partial","assigned","ignored","disputed","proposals","potentialDuplicates"]},"subView":{"type":"string","enum":["needsResponse","underReview","won","lost"]},"cashTransactionRuleId":{"type":"string"},"amountType":{"type":"string","enum":["positive","negative"]},"amount":{"type":"number"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"cashTransactions":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["unassigned","partial","assigned","ignored","disputed"]},"state":{"default":"confirmed","type":"string","enum":["confirmed","pending","failed"]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"date":{"type":"string"},"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"purpose":{"type":"string","maxLength":1000},"info":{"type":"string","maxLength":200},"counterpartName":{"type":"string","maxLength":200},"counterpartAccount":{"type":"string"},"assignments":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["receipt","posting","postingReceipt","sepaDirectDebit","returnedPayment"]},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"receipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string"},"receiptCreated":{"type":"boolean"},"difference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},"differenceAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["receiptId","receiptType","receiptNumber","receiptCreated"],"additionalProperties":false},"postingReceipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"receiptCreated":{"type":"boolean"}},"required":["receiptId","receiptNumber","receiptCreated"],"additionalProperties":false},"posting":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"receiptNumber":{"type":"string"},"counterAccount":{"type":"integer","minimum":1,"maximum":999999999}},"required":["postingIds","receiptNumber","counterAccount"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"sepaDirectDebitId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["sepaDirectDebitId","number","transactionsCount"],"additionalProperties":false},"returnedPayment":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"feePostings":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"}},"required":["id","receiptNumber"],"additionalProperties":false}},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"receiptNumber":{"type":"string","maxLength":30}},"required":["id","feePostings","feeAmount","receiptNumber"],"additionalProperties":false}},"required":["type","amount"],"additionalProperties":false}},"proposals":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["receipt","sepaDirectDebit","posting","returnedPayment","postingReceipt","donation"]},"receipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalGrossAmount"],"additionalProperties":false},"posting":{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"returnedPayment":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paidAt":{"type":"string"},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalAmount","paidAt","feeAmount","account","email","address"],"additionalProperties":false},"postingReceipt":{"type":"object","properties":{"positions":{"type":"array","items":{"type":"object","properties":{"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":200},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["taxCode","debitAccount","creditAccount","costCenter1","costCenter2","amount"],"additionalProperties":false}}},"required":["positions"],"additionalProperties":false},"donation":{"type":"object","properties":{"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountName":{"anyOf":[{"type":"string"},{"type":"null"}]},"positions":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["amount","account","taxCode","costCenter1","costCenter2"],"additionalProperties":false}}},"required":["account","accountName","positions"],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}},"proposing":{"type":"boolean"},"dispute":{"type":"object","properties":{"type":{"type":"string","enum":["origin","withdrawn","reinstated"]},"id":{"type":"string"},"provider":{"type":"string","enum":["stripe","paypal"]},"status":{"type":"string","enum":["needsResponse","underReview","won","lost"]},"reason":{"type":"string","enum":["bank_cannot_process","check_returned","credit_not_processed","customer_initiated","debit_not_authorized","duplicate","fraudulent","general","incorrect_account_details","insufficient_funds","product_not_received","product_unacceptable","subscription_canceled","unrecognized","merchandise_or_service_not_received","merchandise_or_service_not_as_described","unauthorised","duplicate_transaction","incorrect_amount","payment_by_other_means","canceled_recurring_billing","problem_with_remittance","other"]},"evidenceSubmission":{"anyOf":[{"type":"object","properties":{"dueBy":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submitted":{"type":"boolean"}},"required":["dueBy","submitted"],"additionalProperties":false},{"type":"null"}]},"cashTransactionOrigin":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false},{"type":"null"}]},"returnedPayment":{"anyOf":[{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paidAt":{"type":"string"},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalAmount","paidAt","feeAmount","account","email","address"],"additionalProperties":false},{"type":"null"}]}},"required":["type","provider","status","reason","evidenceSubmission","cashTransactionOrigin","returnedPayment"],"additionalProperties":false},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["addSepaDirectDebitPayment","deleteSepaDirectDebitPayment"]},"active":{"type":"boolean"},"error":{"type":"string"}},"required":["key","active","error"],"additionalProperties":false},{"type":"null"}]},"isPotentialDuplicate":{"type":"boolean"}},"required":["_id","mandate","status","state","cashAccount","date","amount","purpose","info","counterpartName","counterpartAccount","assignments","proposing","isPotentialDuplicate"],"additionalProperties":false}}},"required":["count","cashTransactions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}":{"post":{"operationId":"finance-cash-transactions-getCashTransaction","summary":"Get cash transaction","description":"Returns all information for a specific cash transaction for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.read","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"status":{"type":"string","enum":["unassigned","partial","assigned","ignored","disputed"]},"state":{"default":"confirmed","type":"string","enum":["confirmed","pending","failed"]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"date":{"type":"string"},"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"purpose":{"type":"string","maxLength":1000},"info":{"type":"string","maxLength":200},"counterpartName":{"type":"string","maxLength":200},"counterpartAccount":{"type":"string"},"assignments":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["receipt","posting","postingReceipt","sepaDirectDebit","returnedPayment"]},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"integer","minimum":-9007199254740991,"exclusiveMaximum":0}]},"receipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string"},"receiptCreated":{"type":"boolean"},"difference":{"type":"string","enum":["up:unpaid","up:discountReduction","up:feeNoTax","up:feeTax","op:feeNoTax","op:feeTax","op:interestFee"]},"differenceAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"groupId":{"type":"string","minLength":6,"maxLength":6}},"required":["receiptId","receiptType","receiptNumber","receiptCreated"],"additionalProperties":false},"postingReceipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"},"receiptCreated":{"type":"boolean"}},"required":["receiptId","receiptNumber","receiptCreated"],"additionalProperties":false},"posting":{"type":"object","properties":{"postingIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"receiptNumber":{"type":"string"},"counterAccount":{"type":"integer","minimum":1,"maximum":999999999}},"required":["postingIds","receiptNumber","counterAccount"],"additionalProperties":false},"sepaDirectDebit":{"type":"object","properties":{"sepaDirectDebitId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["sepaDirectDebitId","number","transactionsCount"],"additionalProperties":false},"returnedPayment":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"feePostings":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string"}},"required":["id","receiptNumber"],"additionalProperties":false}},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"receiptNumber":{"type":"string","maxLength":30}},"required":["id","feePostings","feeAmount","receiptNumber"],"additionalProperties":false}},"required":["type","amount"],"additionalProperties":false}},"proposals":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["receipt","sepaDirectDebit","posting","returnedPayment","postingReceipt","donation"]},"receipt":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalGrossAmount"],"additionalProperties":false},"posting":{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"returnedPayment":{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paidAt":{"type":"string"},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalAmount","paidAt","feeAmount","account","email","address"],"additionalProperties":false},"postingReceipt":{"type":"object","properties":{"positions":{"type":"array","items":{"type":"object","properties":{"isNet":{"type":"boolean"},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"debitAccount":{"type":"integer","minimum":1,"maximum":999999999},"creditAccount":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"receiptDate":{"type":"string"},"deliveryDate":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":200},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["taxCode","debitAccount","creditAccount","costCenter1","costCenter2","amount"],"additionalProperties":false}}},"required":["positions"],"additionalProperties":false},"donation":{"type":"object","properties":{"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountName":{"anyOf":[{"type":"string"},{"type":"null"}]},"positions":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["amount","account","taxCode","costCenter1","costCenter2"],"additionalProperties":false}}},"required":["account","accountName","positions"],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}},"proposing":{"type":"boolean"},"dispute":{"type":"object","properties":{"type":{"type":"string","enum":["origin","withdrawn","reinstated"]},"id":{"type":"string"},"provider":{"type":"string","enum":["stripe","paypal"]},"status":{"type":"string","enum":["needsResponse","underReview","won","lost"]},"reason":{"type":"string","enum":["bank_cannot_process","check_returned","credit_not_processed","customer_initiated","debit_not_authorized","duplicate","fraudulent","general","incorrect_account_details","insufficient_funds","product_not_received","product_unacceptable","subscription_canceled","unrecognized","merchandise_or_service_not_received","merchandise_or_service_not_as_described","unauthorised","duplicate_transaction","incorrect_amount","payment_by_other_means","canceled_recurring_billing","problem_with_remittance","other"]},"evidenceSubmission":{"anyOf":[{"type":"object","properties":{"dueBy":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submitted":{"type":"boolean"}},"required":["dueBy","submitted"],"additionalProperties":false},{"type":"null"}]},"cashTransactionOrigin":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false},{"type":"null"}]},"returnedPayment":{"anyOf":[{"type":"object","properties":{"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},"receiptNumber":{"type":"string","maxLength":30},"receiptDate":{"type":"string"},"accountName":{"type":"string"},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"paidAt":{"type":"string"},"feeAmount":{"type":"integer","minimum":0,"maximum":9999999999},"account":{"type":"integer","minimum":1,"maximum":999999999},"sendMethod":{"type":"string","enum":["none","email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]}},"required":["receiptId","receiptType","receiptNumber","receiptDate","accountName","totalAmount","paidAt","feeAmount","account","email","address"],"additionalProperties":false},{"type":"null"}]}},"required":["type","provider","status","reason","evidenceSubmission","cashTransactionOrigin","returnedPayment"],"additionalProperties":false},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["addSepaDirectDebitPayment","deleteSepaDirectDebitPayment"]},"active":{"type":"boolean"},"error":{"type":"string"}},"required":["key","active","error"],"additionalProperties":false},{"type":"null"}]},"isPotentialDuplicate":{"type":"boolean"},"cashAccountNumber":{"type":"number"}},"required":["_id","mandate","status","state","cashAccount","date","amount","purpose","info","counterpartName","counterpartAccount","assignments","proposing","isPotentialDuplicate","cashAccountNumber"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-transactions-deleteCashTransaction","summary":"Delete cash transaction","description":"Deletes a specific cash transaction for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.remove","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}/ignore":{"post":{"operationId":"finance-cash-transactions-toggleIgnoreCashTransaction","summary":"Toggle ignore cash transaction","description":"Toggles a specific cash transaction to be ignored or no longer be ignored for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.edit","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}/markAsNotDuplicate":{"post":{"operationId":"finance-cash-transactions-markCashTransactionAsNotDuplicate","summary":"Mark as not duplicate","description":"Marks a specific cash transaction as not a potential duplicate for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.edit","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}/acknowledgeError":{"post":{"operationId":"finance-cash-transactions-acknowledgeTransactionError","summary":"Acknowledge transaction error","description":"Acknowledges a specific transaction error for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.edit","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}/dispute/close":{"post":{"operationId":"finance-cash-transactions-closeCashTransactionDispute","summary":"Close dispute","description":"Closes a specific cash transaction dispute for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.edit","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/{cashTransactionId}/dispute/evidence":{"post":{"operationId":"finance-cash-transactions-submitCashTransactionDisputeEvidence","summary":"Submit dispute evidence","description":"Submits evidence for a specific cash transaction dispute for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransaction.edit","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"evidenceSubmission":{"type":"object","properties":{"additionalInformation":{"type":"string"},"customerCommunication":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]}},"required":["additionalInformation","customerCommunication"]}},"required":["evidenceSubmission"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/transactions/rules/{cashTransactionRuleId}/execute":{"post":{"operationId":"finance-cash-transactions-executeCashTransactionRule","summary":"Execute cash transaction rule","description":"Executes a specific cash transaction rule for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### cashTransactionRule.read\n* #### cashTransaction.read","tags":["finance / cash / transactions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"cashTransactionRuleId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"transactionSelection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers":{"post":{"operationId":"finance-cash-sepaCreditTransfers-createSepaCreditTransfer","summary":"Create sepa credit transfer","description":"Creates a new sepa credit transfer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.edit","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers/files":{"post":{"operationId":"finance-cash-sepaCreditTransfers-createSepaCreditTransferFiles","summary":"Create sepa credit transfer files","description":"Creates sepa credit transfer files based on the provided filter for a given mandate. If the provided filter is empty, then all sepa credit transfers not yet submitted will be included. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.read","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"executeAt":{"type":"string"},"searchTerm":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"batchBooking":{"type":"boolean"}},"required":["executeAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"file array"}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers/{sepaMsgId}/submit":{"post":{"operationId":"finance-cash-sepaCreditTransfers-submitSepaCreditTransfer","summary":"Submit sepa credit transfers","description":"Submits sepa credit transfers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.edit","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"sepaMsgId","schema":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["xml","finApi"]},"webFormId":{"type":"string"}},"required":["method"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers/list":{"post":{"operationId":"finance-cash-sepaCreditTransfers-listSepaCreditTransfers","summary":"List sepa credit transfers","description":"Returns a list of sepa credit transfers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.read","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","receipt","receiptType","receiptNumber","cashAccount","executeAt","amount","name","iban","bic","subject","submittedAt","submittedBy.name","submittedBy.type","submittedBy.userId","submittedBy.image.resource","submittedBy.image.fileName","submittedBy.image.contentType","submittedBy.image.fileSizeBytes","submittedBy.key","finApiSubmission.webFormId","finApiSubmission.paymentId","finApiSubmission.status","finApiSubmission.reason"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"view":{"type":"string","enum":["unsubmitted","submitted"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"sepaCreditTransfers":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptType":{"anyOf":[{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},{"type":"null"}]},"receiptNumber":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"type":"string","minLength":1,"maxLength":140},"submittedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submittedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"finApiSubmission":{"anyOf":[{"type":"object","properties":{"webFormId":{"type":"string"},"paymentId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["pending","submitted","failed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["webFormId","paymentId","status","reason"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","receipt","receiptType","receiptNumber","cashAccount","executeAt","amount","name","iban","bic","subject","submittedAt","submittedBy","finApiSubmission"],"additionalProperties":false}}},"required":["count","sepaCreditTransfers"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers/{sepaCreditTransferId}":{"post":{"operationId":"finance-cash-sepaCreditTransfers-getSepaCreditTransfer","summary":"Get sepa credit transfer","description":"Returns all information for a specific sepa credit transfer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.read","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaCreditTransferId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptType":{"anyOf":[{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},{"type":"null"}]},"receiptNumber":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"type":"string","minLength":1,"maxLength":140},"submittedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submittedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"finApiSubmission":{"anyOf":[{"type":"object","properties":{"webFormId":{"type":"string"},"paymentId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["pending","submitted","failed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["webFormId","paymentId","status","reason"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","receipt","receiptType","receiptNumber","cashAccount","executeAt","amount","name","iban","bic","subject","submittedAt","submittedBy","finApiSubmission"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-sepaCreditTransfers-deleteSepaCreditTransfer","summary":"Delete sepa credit transfer","description":"Deletes a specific sepa credit transfer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.edit\n* #### cashTransaction.edit","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaCreditTransferId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaCreditTransfers/{sepaCreditTransferId}/update":{"post":{"operationId":"finance-cash-sepaCreditTransfers-updateSepaCreditTransfer","summary":"Update sepa credit transfer","description":"Updates a specific unsubmitted sepa credit transfer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaCreditTransfer.edit","tags":["finance / cash / sepaCreditTransfers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaCreditTransferId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"subject":{"type":"string","minLength":1,"maxLength":140},"cashAccountId":{"type":"string"},"bic":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["executeAt","amount","name","iban","subject","cashAccountId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"receiptType":{"anyOf":[{"type":"string","enum":["expense","revenue","invoice","deposit","donation","offer","confirmation"]},{"type":"null"}]},"receiptNumber":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"executeAt":{"type":"string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"name":{"type":"string","minLength":1,"maxLength":70},"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"type":"string","minLength":1,"maxLength":140},"submittedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submittedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"finApiSubmission":{"anyOf":[{"type":"object","properties":{"webFormId":{"type":"string"},"paymentId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["pending","submitted","failed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["webFormId","paymentId","status","reason"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","receipt","receiptType","receiptNumber","cashAccount","executeAt","amount","name","iban","bic","subject","submittedAt","submittedBy","finApiSubmission"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits":{"post":{"operationId":"finance-cash-sepaDirectDebits-createSepaDirectDebits","summary":"Create sepa direct debits","description":"Creates one or more sepa direct debits for given receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read\n* #### sepaDirectDebit.insert","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"executeAt":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"collectDueType":{"type":"string","enum":["all","overdue","due"]}},"required":["executeAt","collectDueType"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"mandateId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"sepaDirectDebitIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["mandateId","number","sepaDirectDebitIds"],"additionalProperties":false}}},"required":["results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/list":{"post":{"operationId":"finance-cash-sepaDirectDebits-listSepaDirectDebits","summary":"List sepa direct debits","description":"Returns a list of sepa direct debits for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.read","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","cashAccount","number","chunk","sepaMsgId","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","returnedTransactionsCount","submittedAt","submittedBy.name","submittedBy.type","submittedBy.userId","submittedBy.image.resource","submittedBy.image.fileName","submittedBy.image.contentType","submittedBy.image.fileSizeBytes","submittedBy.key","finApiSubmission.webFormId","finApiSubmission.paymentId","finApiSubmission.status","finApiSubmission.reason","jobInfo.key","jobInfo.active","jobInfo.error","type"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"cashAccountId":{"type":"string"},"searchTerm":{"type":"string"},"range":{"type":"object","properties":{"from":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]},"to":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":3000},"monthIndex":{"type":"integer","minimum":1,"maximum":12}},"required":["year","monthIndex"]}},"required":["from","to"]},"fromDate":{"type":"string"},"toDate":{"type":"string"},"totalAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"view":{"type":"string","enum":["unsubmitted","submitted","pending","executed","paid"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"sepaDirectDebits":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"chunk":{"type":"number","minimum":1},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"executeAt":{"type":"string"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalPaidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"returnedTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"submittedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submittedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"finApiSubmission":{"anyOf":[{"type":"object","properties":{"webFormId":{"type":"string"},"paymentId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["pending","submitted","failed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["webFormId","paymentId","status","reason"],"additionalProperties":false},{"type":"null"}]},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["addSepaDirectDebitPayment","deleteSepaDirectDebitPayment"]},"active":{"type":"boolean"},"error":{"type":"string"}},"required":["key","active","error"],"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["BASIC","B2B"]}},"required":["_id","mandate","cashAccount","number","chunk","sepaMsgId","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","returnedTransactionsCount","submittedAt","submittedBy","finApiSubmission","type"],"additionalProperties":false}}},"required":["count","sepaDirectDebits"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/{sepaDirectDebitId}":{"post":{"operationId":"finance-cash-sepaDirectDebits-getSepaDirectDebit","summary":"Get sepa direct debit","description":"Returns all information for a specific sepa direct debit for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.read","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaDirectDebitId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"chunk":{"type":"number","minimum":1},"sepaMsgId":{"type":"string","pattern":"MSG([A-Z0-9]{21})CAMPAI"},"executeAt":{"type":"string"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalPaidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"returnedTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"submittedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"submittedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"finApiSubmission":{"anyOf":[{"type":"object","properties":{"webFormId":{"type":"string"},"paymentId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["pending","submitted","failed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["webFormId","paymentId","status","reason"],"additionalProperties":false},{"type":"null"}]},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["addSepaDirectDebitPayment","deleteSepaDirectDebitPayment"]},"active":{"type":"boolean"},"error":{"type":"string"}},"required":["key","active","error"],"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["BASIC","B2B"]}},"required":["_id","mandate","cashAccount","number","chunk","sepaMsgId","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","returnedTransactionsCount","submittedAt","submittedBy","finApiSubmission","type"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-sepaDirectDebits-deleteSepaDirectDebits","summary":"Delete direct debit","description":"Deletes a specific sepa direct debit and all of its chunks and clears the receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read\n* #### sepaDirectDebit.insert","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaDirectDebitId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDelete","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"deleteWholeChunkSameNumber","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/sepaXmlFile":{"post":{"operationId":"finance-cash-sepaDirectDebits-createSepaDirectDebitXmlFile","summary":"Create sepa direct debit xml file","description":"Creates the sepa xml file for a specific sepa direct debit for a given mandate and marks it as submitted <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sepaDirectDebitId":{"type":"string"},"sepaDirectDebitVersion":{"type":"string","enum":["pain.008.001.02","pain.008.001.08"]}},"required":["sepaDirectDebitId","sepaDirectDebitVersion"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"fileName":{"type":"string"},"sepaXml":{"type":"string"},"executeAt":{"type":"string"}},"required":["fileName","sepaXml","executeAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/finApiFile":{"post":{"operationId":"finance-cash-sepaDirectDebits-createSepaDirectDebitFinApiSubmission","summary":"Create FinApi submission","description":"Creates the FinApi submission file and starts the submission for a specific sepa direct debit for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sepaDirectDebitId":{"type":"string"},"resubmissionReason":{"type":"string","minLength":1,"maxLength":240}},"required":["sepaDirectDebitId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"url":{"type":"string","minLength":1}},"required":["id","url"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/{sepaDirectDebitId}/payment":{"post":{"operationId":"finance-cash-sepaDirectDebits-addSepaDirectDebitPayment","summary":"Add payment","description":"Adds a payment for a specific sepa direct debit for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaDirectDebitId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashTransactionId":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"finance-cash-sepaDirectDebits-deleteSepaDirectDebitPayment","summary":"Remove payment","description":"Removes a payment for a specific sepa direct debit for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit\n### Permissions if cashTransactionId is provided:\n* #### cashTransaction.edit\n","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaDirectDebitId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/sepaCsvFile":{"post":{"operationId":"finance-cash-sepaDirectDebits-exportSepaDirectDebit","summary":"Export sepa direct debit","description":"Exports a specific sepa direct debit for a given mandate and creates the sepa csv file and marks it as submitted <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit","tags":["finance / cash / sepaDirectDebitsCsv"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sepaDirectDebitId":{"type":"string"}},"required":["sepaDirectDebitId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string"},"csv":{"type":"string"}},"required":["fileName","csv"],"additionalProperties":false},{"type":"object","properties":{"isQueueExporting":{"type":"boolean"}},"required":["isQueueExporting"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/sepaDirectDebits/{sepaDirectDebitId}/acknowledgeError":{"post":{"operationId":"finance-cash-sepaDirectDebits-acknowledgeDirectDebitError","summary":"Acknowledge direct debit error","description":"Acknowledges a specific direct debit error for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### sepaDirectDebit.edit","tags":["finance / cash / sepaDirectDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"sepaDirectDebitId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/onlineDebits":{"post":{"operationId":"finance-cash-onlineDebits-createOnlineDebitCollections","summary":"Create Online Debit collections","description":"Creates Online Debit collection chunks for due online receipts <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.read\n* #### onlineDebitCollection.insert","tags":["finance / cash / onlineDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"executeAt":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"collectDueType":{"type":"string","enum":["all","overdue","due"]}},"required":["executeAt","collectDueType"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"mandateId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"onlineDebitCollectionIds":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["mandateId","number","onlineDebitCollectionIds"],"additionalProperties":false}}},"required":["results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/onlineDebits/collections/{onlineDebitCollectionId}":{"delete":{"operationId":"finance-cash-onlineDebits-deleteOnlineDebitCollections","summary":"Delete OnlineDebit collections","description":"Deletes scheduled or failed OnlineDebit collection chunks and clears their receipts before successful processing <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### onlineDebitCollection.remove","tags":["finance / cash / onlineDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"onlineDebitCollectionId","schema":{"type":"string"},"required":true},{"in":"query","name":"deleteWholeChunkSameNumber","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/onlineDebits/collections/list":{"post":{"operationId":"finance-cash-onlineDebits-listOnlineDebitCollections","summary":"List Online Debit collections","description":"Returns Online Debit collection chunks for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### onlineDebitCollection.read","tags":["finance / cash / onlineDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","organization","mandate","number","chunk","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","failedTransactionsCount","status","jobInfo.key","jobInfo.active","jobInfo.error","jobInfo.startedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"status":{"type":"string","enum":["scheduled","processing","succeeded","partiallySucceeded","refunded","partiallyRefunded","failed"]},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"onlineDebitCollections":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"chunk":{"type":"integer","minimum":1,"maximum":9007199254740991},"executeAt":{"type":"string"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalPaidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"failedTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["scheduled","processing","succeeded","partiallySucceeded","refunded","partiallyRefunded","failed"]},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["dispatchOnlineDebitCollection"]},"active":{"type":"boolean"},"error":{"type":"string"},"startedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["key","active","error","startedAt"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","organization","mandate","number","chunk","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","failedTransactionsCount","status"],"additionalProperties":false}}},"required":["count","onlineDebitCollections"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/cash/onlineDebits/list":{"post":{"operationId":"finance-cash-onlineDebits-listOnlineDebits","summary":"List Online Debits for one Online Debit collection","description":"Returns an Online Debit collection chunk with its debits for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### onlineDebitCollection.read","tags":["finance / cash / onlineDebits"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"onlineDebitCollectionId":{"type":"string"}},"required":["onlineDebitCollectionId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"onlineDebitCollection":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","pattern":"^\\d{4}-\\d{4}$"},"chunk":{"type":"integer","minimum":1,"maximum":9007199254740991},"executeAt":{"type":"string"},"transactionsCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalPaidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"paidTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"failedTransactionsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["scheduled","processing","succeeded","partiallySucceeded","refunded","partiallyRefunded","failed"]},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["dispatchOnlineDebitCollection"]},"active":{"type":"boolean"},"error":{"type":"string"},"startedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["key","active","error","startedAt"],"additionalProperties":false},{"type":"null"}]},"onlineDebits":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"paymentMethod":{"type":"object","properties":{"paymentMethod":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"ownerType":{"type":"string","enum":["debtor"]},"ownerId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["paymentMethod","ownerType","ownerId"],"additionalProperties":false},"totalAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"totalPaidAmount":{"type":"integer","minimum":0,"maximum":9999999999},"status":{"type":"string","enum":["scheduled","processing","requiresAction","succeeded","failed","partiallyRefunded","refunded"]},"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"executedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"failure":{"anyOf":[{"type":"string"},{"type":"null"}]},"actionRequired":{"anyOf":[{"type":"object","properties":{"code":{"anyOf":[{"type":"string","enum":["default.customerActionRequired","default.authenticationRequired","default.paymentMethodUnavailable","default.paymentAuthorizationInactive","default.paymentMethodExpired","paypal.payerActionRequired","paypal.payerCannotPay","paypal.vaultTokenDeleted","stripe.setupFailed","stripe.cardDeclined"]},{"type":"null"}]},"emailSentAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"emailError":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["code","emailSentAt","emailError"],"additionalProperties":false},{"type":"null"}]},"jobInfo":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","enum":["executeOnlineDebit"]},"active":{"type":"boolean"},"error":{"type":"string"},"startedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["key","active","error","startedAt"],"additionalProperties":false},{"type":"null"}]},"receiptData":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30},"account":{"type":"integer","minimum":1,"maximum":999999999},"accountName":{"type":"string"},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"totalAmountLeftToPay":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["_id","receiptNumber","account","accountName"],"additionalProperties":false},{"type":"null"}]},"paymentMethodData":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"details":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["card","paypal","sepa_debit","unknown"]},"brand":{"anyOf":[{"type":"string"},{"type":"null"}]},"last4":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiryMonth":{"anyOf":[{"type":"integer","minimum":1,"maximum":12},{"type":"null"}]},"expiryYear":{"anyOf":[{"type":"integer","minimum":2000,"maximum":9007199254740991},{"type":"null"}]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","brand","last4","expiryMonth","expiryYear","label"],"additionalProperties":false},{"type":"null"}]},"status":{"type":"string","enum":["pending","active","warning","revoked","failed"]},"provider":{"type":"object","properties":{"type":{"type":"string","enum":["stripe","paypal"]}},"required":["type"],"additionalProperties":false}},"required":["_id","details","status","provider"],"additionalProperties":false},{"type":"null"}]},"paymentIntentData":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"provider":{"type":"string","enum":["stripe","paypal"]},"status":{"type":"string","enum":["succeeded","pending","authorized","requiresAction","failed","canceled"]},"cashTransaction":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"transactionId":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"errorDetails":{"default":null,"anyOf":[{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["issue","description"],"additionalProperties":false}},{"type":"null"}]}},"required":["_id","provider","status","cashTransaction","transactionId","errorDetails"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","receipt","paymentMethod","totalAmount","totalPaidAmount","status","paymentIntent","executedAt","failure","receiptData","paymentMethodData","paymentIntentData"],"additionalProperties":false}}},"required":["_id","organization","mandate","number","chunk","executeAt","transactionsCount","totalAmount","totalPaidAmount","paidTransactionsCount","failedTransactionsCount","status","onlineDebits"],"additionalProperties":false},{"type":"null"}]}},"required":["onlineDebitCollection"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/auth":{"get":{"operationId":"finance-cash-finApi-getAuthToken","summary":"Get FinApi auth token","description":"Retrieves the FinApi auth token for a given organization <br /><br /> \n### Required permissions:\n* #### organization.edit","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"authToken":{"type":"string"}},"required":["authToken"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/banks":{"get":{"operationId":"finance-cash-finApi-getBanks","summary":"Get FinApi banks","description":"Returns the FinApi banks available for integration for a given organization <br /><br /> \n### Required permissions:\n* #### cashAccount.insert","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"search","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","minLength":1},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentCapabilities":{"type":"object","properties":{"sepaDirectDebit":{"type":"boolean"}},"required":["sepaDirectDebit"],"additionalProperties":false}},"required":["id","name","bic","icon","paymentCapabilities"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/webForm/{webFormId}":{"get":{"operationId":"finance-cash-finApi-getWebFormResult","summary":"Get FinApi web form result","description":"Returns the result of a specific FinApi web form for a given organization <br /><br /> \n### Required permissions:\n* #### organization.read","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"webFormId","schema":{"type":"string","minLength":1},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["BANK_CONNECTION_IMPORT","BANK_CONNECTION_UPDATE","PAYMENT_WITH_ACCOUNT_ID","STANDALONE_PAYMENT","DIRECT_DEBIT_WITH_ACCOUNT_ID","STANDING_ORDER"]},"status":{"type":"string","enum":["NOT_YET_OPENED","IN_PROGRESS","COMPLETED","COMPLETED_WITH_ERROR","EXPIRED","ABORTED","CANCELLED"]},"data":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","status","data","error"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/bankConnections/{bankConnectionId}/accounts":{"get":{"operationId":"finance-cash-finApi-getAccounts","summary":"Get FinApi accounts","description":"Returns the accounts available on a specific FinApi bank connection for a given organization <br /><br /> \n### Required permissions:\n* #### cashAccount.insert","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"bankConnectionId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"connectionId":{"type":"number"},"iban":{"anyOf":[{"type":"string","format":"iban"},{"type":"string","const":""}]},"name":{"type":"string"},"owner":{"type":"string"},"currency":{"type":"string"},"hasSepaDirectDebit":{"type":"boolean"},"hasSepaMoneyTransfer":{"type":"boolean"},"updated":{"type":"boolean"},"status":{"type":"string","enum":["UPDATED","UPDATED_FIXED","DOWNLOAD_IN_PROGRESS","DOWNLOAD_FAILED","DEPRECATED"]},"interfaces":{"type":"array","items":{"type":"object","properties":{"bankingInterface":{"type":"string","enum":["XS2A","FINTS_SERVER","WEB_SCRAPER"]},"status":{"type":"string","enum":["UPDATED","UPDATED_FIXED","DOWNLOAD_IN_PROGRESS","DOWNLOAD_FAILED","DEPRECATED"]},"lastSuccessfulUpdate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"lastUpdateAttempt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["bankingInterface","status","lastSuccessfulUpdate","lastUpdateAttempt"],"additionalProperties":false}}},"required":["id","connectionId","iban","name","owner","currency","hasSepaDirectDebit","hasSepaMoneyTransfer","updated","status","interfaces"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/{bankId}/connect":{"get":{"operationId":"finance-cash-finApi-connectBank","summary":"Connect to FinApi bank","description":"Connects to a specific FinApi bank for a given organization <br /><br /> \n### Required permissions:\n* #### cashAccount.insert","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"bankId","schema":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"url":{"type":"string","minLength":1}},"required":["id","url"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/finApi/accounts/{accountId}":{"delete":{"operationId":"finance-cash-finApi-deleteAccount","summary":"Delete FinApi account","description":"Deletes a specific FinApi account for a given organization. Only allowed if the account is not in use. <br /><br /> \n### Required permissions:\n* #### cashAccount.edit","tags":["finance / cash / finApi"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"accountId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/cash/bankConnections":{"get":{"operationId":"finance-cash-bankConnections-listBankConnections","summary":"List bank connections","description":"Returns a list of bank connections for a given organization <br /><br /> \n### Required permissions:\n* #### cashAccount.insert","tags":["finance / cash / bankConnections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"bankId","schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"connectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":120},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"importedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"bank":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","minLength":1},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentCapabilities":{"type":"object","properties":{"sepaDirectDebit":{"type":"boolean"}},"required":["sepaDirectDebit"],"additionalProperties":false}},"required":["id","name","bic","icon","paymentCapabilities"],"additionalProperties":false},"interfaces":{"type":"array","items":{"type":"object","properties":{"bankingInterface":{"type":"string","enum":["XS2A","FINTS_SERVER","WEB_SCRAPER"]},"userActionRequired":{"type":"boolean"},"lastManualUpdate":{"anyOf":[{"type":"object","properties":{"result":{"type":"string","enum":["OK","BANK_SERVER_REJECTION","INTERNAL_SERVER_ERROR"]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["result","errorMessage","timestamp"],"additionalProperties":false},{"type":"null"}]},"lastAutoUpdate":{"anyOf":[{"type":"object","properties":{"result":{"type":"string","enum":["OK","BANK_SERVER_REJECTION","INTERNAL_SERVER_ERROR"]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["result","errorMessage","timestamp"],"additionalProperties":false},{"type":"null"}]}},"required":["bankingInterface","userActionRequired","lastManualUpdate","lastAutoUpdate"],"additionalProperties":false}},"canDelete":{"type":"boolean"}},"required":["connectionId","name","description","importedAt","bank","interfaces","canDelete"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/cash/bankConnections/{connectionId}":{"post":{"operationId":"finance-cash-bankConnections-upsertBankConnection","summary":"Upsert bank connection","description":"Creates or updates a specific bank connection for a given organization <br /><br /> \n### Required permissions:\n* #### organization.read","tags":["finance / cash / bankConnections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"connectionId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true},{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":120}},"required":["name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"get":{"operationId":"finance-cash-bankConnections-getBankConnection","summary":"Get bank connection","description":"Returns a specific bank connection for a given organization <br /><br /> \n### Required permissions:\n* #### cashAccount.insert","tags":["finance / cash / bankConnections"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"connectionId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":120},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"importedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"bank":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","minLength":1},"bic":{"anyOf":[{"type":"string"},{"type":"string","const":""}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentCapabilities":{"type":"object","properties":{"sepaDirectDebit":{"type":"boolean"}},"required":["sepaDirectDebit"],"additionalProperties":false}},"required":["id","name","bic","icon","paymentCapabilities"],"additionalProperties":false},"interfaces":{"type":"array","items":{"type":"object","properties":{"bankingInterface":{"type":"string","enum":["XS2A","FINTS_SERVER","WEB_SCRAPER"]},"userActionRequired":{"type":"boolean"},"lastManualUpdate":{"anyOf":[{"type":"object","properties":{"result":{"type":"string","enum":["OK","BANK_SERVER_REJECTION","INTERNAL_SERVER_ERROR"]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["result","errorMessage","timestamp"],"additionalProperties":false},{"type":"null"}]},"lastAutoUpdate":{"anyOf":[{"type":"object","properties":{"result":{"type":"string","enum":["OK","BANK_SERVER_REJECTION","INTERNAL_SERVER_ERROR"]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["result","errorMessage","timestamp"],"additionalProperties":false},{"type":"null"}]}},"required":["bankingInterface","userActionRequired","lastManualUpdate","lastAutoUpdate"],"additionalProperties":false}},"canDelete":{"type":"boolean"}},"required":["connectionId","name","description","importedAt","bank","interfaces","canDelete"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/stripe/connect":{"post":{"operationId":"finance-stripe-connectStripeAccount","summary":"Connect Stripe account","description":"Creates an account session that includes a single-use token to connect/create the organization's Stripe account <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance / cash / stripe"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"stripeAccount":{"type":"object","properties":{"id":{"type":"string"},"disabledReason":{"anyOf":[{"type":"string","enum":["action_required.requested_capabilities","listed","other","platform_paused","rejected.fraud","rejected.incomplete_verification","rejected.listed","rejected.other","rejected.platform_fraud","rejected.platform_other","rejected.platform_terms_of_service","rejected.terms_of_service","requirements.past_due","requirements.pending_verification","under_review"]},{"type":"null"}]},"errors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["restricted","restrictedSoon","pending","enabled","complete","disabled"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"balance":{"anyOf":[{"type":"object","properties":{"available":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"pending":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["available","pending"],"additionalProperties":false},{"type":"null"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["id","disabledReason","errors","status","cashAccount","balance","account"],"additionalProperties":false},"clientSecret":{"type":"string"}},"required":["stripeAccount","clientSecret"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/stripe/account":{"get":{"operationId":"finance-stripe-getStripeAccount","summary":"Get Stripe account","description":"Returns the Stripe account for a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.read","tags":["finance / cash / stripe"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"disabledReason":{"anyOf":[{"type":"string","enum":["action_required.requested_capabilities","listed","other","platform_paused","rejected.fraud","rejected.incomplete_verification","rejected.listed","rejected.other","rejected.platform_fraud","rejected.platform_other","rejected.platform_terms_of_service","rejected.terms_of_service","requirements.past_due","requirements.pending_verification","under_review"]},{"type":"null"}]},"errors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["restricted","restrictedSoon","pending","enabled","complete","disabled"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"balance":{"anyOf":[{"type":"object","properties":{"available":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"pending":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["available","pending"],"additionalProperties":false},{"type":"null"}]},"requirements":{"anyOf":[{"type":"object","properties":{"eventuallyDue":{"type":"array","items":{"type":"string"}}},"required":["eventuallyDue"],"additionalProperties":false},{"type":"null"}]},"verified":{"type":"boolean"}},"required":["id","disabledReason","errors","status","cashAccount","account","balance","requirements","verified"],"additionalProperties":false},{"type":"null"}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/paypal/connect":{"post":{"operationId":"finance-paypal-connectPayPalAccount","summary":"Connect PayPal account","description":"Connects a PayPal account to the organization <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance / cash / paypal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"returnUrl":{"type":"string"}},"required":["returnUrl"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"actionUrl":{"type":"string"}},"required":["actionUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/paypal/account":{"get":{"operationId":"finance-paypal-getPayPalAccount","summary":"Get PayPal account","description":"Returns the PayPal account for a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.read","tags":["finance / cash / paypal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"disabledReason":{"anyOf":[{"type":"string","enum":["payments_receivable_disabled","primary_email_not_confirmed","oauth_integration_incomplete","ppcp_unsubscribed"]},{"type":"null"}]},"errors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["restricted","restrictedSoon","pending","enabled","complete","disabled"]},{"type":"null"}]},"cashAccount":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"balance":{"anyOf":[{"type":"object","properties":{"available":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999},"pending":{"type":"integer","minimum":-9007199254740991,"maximum":9999999999}},"required":["available","pending"],"additionalProperties":false},{"type":"null"}]},"requirements":{"anyOf":[{"type":"object","properties":{"eventuallyDue":{"type":"array","items":{"type":"string"}}},"required":["eventuallyDue"],"additionalProperties":false},{"type":"null"}]},"verified":{"type":"boolean"},"onlineDebitStatus":{"default":"requires_merchant_action","type":"string","enum":["available","requires_merchant_action"]},"onlineDebitDisabledReason":{"default":"advanced_vaulting_incomplete","anyOf":[{"type":"string","enum":["advanced_vaulting_incomplete"]},{"type":"null"}]}},"required":["id","disabledReason","errors","status","cashAccount","account","balance","requirements","verified","onlineDebitStatus","onlineDebitDisabledReason"],"additionalProperties":false},{"type":"null"}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/paypal/refresh":{"post":{"operationId":"finance-paypal-refreshPayPalAccount","summary":"Refresh PayPal account","description":"Refreshes a PayPal account linked to a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance / cash / paypal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/paypal/disconnect":{"post":{"operationId":"finance-paypal-disconnectPayPalAccount","summary":"Disconnect PayPal account","description":"Disconnects a PayPal account from a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance / cash / paypal"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/finance/settings":{"get":{"operationId":"finance-settings-getSettings","summary":"Get finances settings","description":"Returns the finances settings of a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.read","tags":["finance"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"modifiedBefore","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},{"in":"query","name":"modifiedAfter","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"vatID":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"datev":{"type":"object","properties":{"advisorNumber":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(\\d{4,6}|\\d{7})$"}]},"mandateNumber":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{1,5}$"}]}},"required":["advisorNumber","mandateNumber"],"additionalProperties":false},"fiscalMonthStart":{"type":"integer","minimum":1,"maximum":12},"vatDueMethod":{"type":"string","enum":["receipt","payment"]},"accountingMode":{"type":"string","enum":["full","export","none"]},"reminders":{"type":"object","properties":{"automaticRemindersEnabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"level1":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level2":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level3":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level4":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"invoice":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceMembershipFee":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]},"invoiceBooking":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},{"type":"null"}]}},"required":["general","invoice","invoiceMembershipFee","invoiceBooking"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"donationReminders":{"type":"object","properties":{"automaticRemindersEnabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"level1":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false}},"required":["general"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level2":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false}},"required":["general"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level3":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false}},"required":["general"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false},"level4":{"type":"object","properties":{"enabled":{"type":"boolean"},"daysOverdue":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9999999999},"messages":{"type":"object","properties":{"general":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false}},"required":["general"],"additionalProperties":false}},"required":["enabled","daysOverdue","fee","messages"],"additionalProperties":false}},"required":["automaticRemindersEnabledAt","level1","level2","level3","level4"],"additionalProperties":false}},"required":["automaticRemindersEnabledAt","level1","level2","level3","level4","donationReminders"],"additionalProperties":false},"returnedPaymentNotification":{"type":"object","properties":{"retry":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false},"manual":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"],"additionalProperties":false}},"required":["retry","manual"],"additionalProperties":false},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550}},"required":["paymentTerms"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550},"creditorIdentifier":{"type":"string"},"minLeadTimeDays":{"type":"integer","minimum":0,"maximum":42},"maxLeadTimeDays":{"type":"integer","minimum":0,"maximum":42},"b2b":{"type":"boolean"}},"required":["paymentTerms","creditorIdentifier","minLeadTimeDays","maxLeadTimeDays","b2b"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550},"stripe":{"type":"object","properties":{"accountNumber":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"cashAccountId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["accountNumber","accountId","cashAccountId"],"additionalProperties":false},"paypal":{"type":"object","properties":{"accountNumber":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"cashAccountId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["accountNumber","accountId","cashAccountId"],"additionalProperties":false}},"required":["paymentTerms"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550}},"required":["paymentTerms"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"receiptNumberFormats":{"type":"object","propertyNames":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking","invoiceRefund","invoiceCancelation","deposit","donation","offer","confirmation"]},"additionalProperties":{"type":"string","minLength":2,"maxLength":25},"required":["invoice","invoiceMembershipFee","invoiceBooking","invoiceRefund","invoiceCancelation","deposit","donation","offer","confirmation"]},"receiptNumberScope":{"type":"string","enum":["global","local"]},"taxOfficeName":{"type":"string","maxLength":40},"donationEnabled":{"type":"boolean"},"donationMembershipFees":{"type":"boolean"},"reversePostingsOnCancelation":{"type":"boolean"},"taxID":{"type":"string"}},"required":["vatID","datev","fiscalMonthStart","vatDueMethod","accountingMode","reminders","returnedPaymentNotification","paymentMethods","receiptNumberFormats","receiptNumberScope","taxOfficeName","donationMembershipFees","reversePostingsOnCancelation","taxID"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"finance-settings-updateSettings","summary":"Update finances settings","description":"Updates (parts) of the finances settings of a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"vatID":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"taxOfficeName":{"type":"string","maxLength":40},"datev":{"type":"object","properties":{"advisorNumber":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(\\d{4,6}|\\d{7})$"}]},"mandateNumber":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{1,5}$"}]}},"required":["advisorNumber","mandateNumber"]},"fiscalMonthStart":{"type":"integer","minimum":1,"maximum":12},"vatDueMethod":{"type":"string","enum":["receipt","payment"]},"accountingMode":{"type":"string","enum":["full","export","none"]},"taxID":{"type":"string"},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550}},"required":["paymentTerms"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550},"creditorIdentifier":{"type":"string"},"minLeadTimeDays":{"type":"integer","minimum":0,"maximum":42},"maxLeadTimeDays":{"type":"integer","minimum":0,"maximum":42},"b2b":{"type":"boolean"}},"required":["paymentTerms","creditorIdentifier","minLeadTimeDays","maxLeadTimeDays","b2b"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550},"stripe":{"type":"object","properties":{"accountNumber":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"cashAccountId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["accountNumber","accountId","cashAccountId"]},"paypal":{"type":"object","properties":{"accountNumber":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"accountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"cashAccountId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["accountNumber","accountId","cashAccountId"]}},"required":["paymentTerms"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"paymentTerms":{"type":"string","minLength":1,"maxLength":550}},"required":["paymentTerms"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"returnedPaymentNotification":{"type":"object","properties":{"retry":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]},"manual":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":30},"intro":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["title","intro","note","subject","message"]}},"required":["retry","manual"]},"automaticReminders":{"type":"boolean"},"donationRemindersAutomaticReminders":{"type":"boolean"},"reversePostingsOnCancelation":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/finance/settings/receiptNumberFormats":{"post":{"operationId":"finance-settings-updateReceiptNumberFormats","summary":"Update receipt number formats","description":"Updates the receipt number formats of a given organization <br /><br /> \n### Required permissions:\n* #### financesSettings.edit","tags":["finance"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiptNumberFormats":{"type":"object","propertyNames":{"type":"string","enum":["invoice","invoiceMembershipFee","invoiceBooking","invoiceRefund","invoiceCancelation","deposit","donation","offer","confirmation"]},"additionalProperties":{"type":"string","minLength":2,"maxLength":25},"required":["invoice","invoiceMembershipFee","invoiceBooking","invoiceRefund","invoiceCancelation","deposit","donation","offer","confirmation"]},"receiptNumberScope":{"type":"string","enum":["global","local"]}},"required":["receiptNumberFormats","receiptNumberScope"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/inventory/capacity":{"post":{"operationId":"sales-inventory-adjustCapacity","summary":"Set inventory capacity","description":"Sets global or sales-period capacity and records the change <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read\n* #### inventory.edit","tags":["sales / inventory"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string"},"periodId":{"type":"string"},"capacity":{"type":"number","minimum":0},"note":{"default":"","type":"string","maxLength":200}},"required":["productId","periodId","capacity"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"poolId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"capacity":{"type":"number","minimum":0},"used":{"type":"number","minimum":0},"available":{"type":"number","minimum":0}},"required":["poolId","capacity","used","available"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/inventory/availability":{"post":{"operationId":"sales-inventory-getInventoryAvailability","summary":"Get inventory availability","description":"Checks inventory availability for product lines, including composed products and capacity periods <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read\n* #### inventory.read","tags":["sales / inventory"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"requests":{"minItems":1,"type":"array","items":{"type":"object","properties":{"reference":{"type":"string","minLength":1,"maxLength":64},"productId":{"type":"string"},"quantity":{"type":"number","exclusiveMinimum":0},"periodId":{"type":"string"}},"required":["reference","productId","quantity","periodId"]}}},"required":["requests"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"productId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"periodId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"scopeKey":{"type":"string"},"requested":{"type":"number","exclusiveMinimum":0},"capacity":{"type":"number","minimum":0},"used":{"type":"number","minimum":0},"available":{"type":"number","minimum":0},"sufficient":{"type":"boolean"}},"required":["productId","periodId","scopeKey","requested","capacity","used","available","sufficient"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/{productId}/inventory":{"get":{"operationId":"sales-inventory-getProductInventory","summary":"Get product inventory","description":"Returns product stock and availability derived from product components <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read\n* #### inventory.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true},{"in":"query","name":"includePeriods","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"limit","schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"offset","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"returnCount","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"unlimited"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","count"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"stock"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"scopes":{"type":"array","items":{"type":"object","properties":{"scopeKey":{"type":"string"},"poolId":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"period":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["_id","name","startsAt","endsAt"],"additionalProperties":false},{"type":"null"}]},"capacity":{"type":"number","minimum":0},"used":{"type":"number","minimum":0},"available":{"type":"number","minimum":0}},"required":["scopeKey","poolId","period","capacity","used","available"],"additionalProperties":false}}},"required":["kind","count","scopes"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"derived"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"requiresPeriod":{"type":"boolean"},"scopes":{"type":"array","items":{"type":"object","properties":{"scopeKey":{"type":"string"},"period":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["_id","name","startsAt","endsAt"],"additionalProperties":false},{"type":"null"}]},"available":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["scopeKey","period","available"],"additionalProperties":false}}},"required":["kind","count","requiresPeriod","scopes"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/inventory/movements/list":{"post":{"operationId":"sales-inventory-listMovements","summary":"List inventory capacity changes","description":"Lists the paginated capacity history for a product <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read\n* #### inventory.read","tags":["sales / inventory"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"}},"required":["productId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"movements":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"scopeKey":{"type":"string"},"period":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"}},"required":["_id","name"],"additionalProperties":false},{"type":"null"}]},"capacityBefore":{"type":"number","minimum":0},"capacityAfter":{"type":"number","minimum":0},"reason":{"type":"string","enum":["initial","adjustment"]},"note":{"type":"string"},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","scopeKey","period","capacityBefore","capacityAfter","reason","note","createdBy","createdAt"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["movements","count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/inventory/activity/list":{"post":{"operationId":"sales-inventory-listInventoryActivity","summary":"List inventory activity","description":"Lists paginated reserved, committed, sold, and returned inventory <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read\n* #### inventory.read\n* #### receipt.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string"},"includePeriods":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"status":{"type":"string","enum":["reserved","committed","sold","returned"]},"sort":{"default":{"createdAt":"desc"},"type":"object","propertyNames":{"type":"string","enum":["productName","scopeKey","receiptNumber","accountName","status","quantity","expiresOn","createdAt"]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"activities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"productId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"productName":{"type":"string","minLength":1,"maxLength":80},"scopeKey":{"type":"string"},"period":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["_id","name","startsAt","endsAt"],"additionalProperties":false},{"type":"null"}]},"receiptId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptType":{"anyOf":[{"type":"string","enum":["offer","confirmation","invoice"]},{"type":"null"}]},"receiptNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"account":{"anyOf":[{"type":"number"},{"type":"null"}]},"accountName":{"anyOf":[{"type":"string"},{"type":"null"}]},"quantity":{"type":"number","exclusiveMinimum":0},"status":{"type":"string","enum":["reserved","committed","sold","returned"]},"expiresOn":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["id","mandateId","productId","productName","scopeKey","period","receiptId","receiptType","receiptNumber","account","accountName","quantity","status","expiresOn","createdAt"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["activities","count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/opportunities":{"post":{"operationId":"sales-opportunities-createOpportunity","summary":"Create sales opportunity","description":"Creates an opportunity in the sales pipeline <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### opportunity.insert\n* #### contact.read\n* #### user.read","tags":["sales / opportunities"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"stage":{"type":"string","enum":["new","qualified","offer","negotiation","won","lost"]},"expectedValue":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"salesChance":{"type":"integer","minimum":0,"maximum":100},"expectedCloseAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"renewalOf":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"products":{"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}},"notes":{"type":"string","maxLength":4000},"lostReason":{"anyOf":[{"type":"string","minLength":1,"maxLength":400},{"type":"null"}]},"responsibleUserId":{"type":"string","minLength":16},"contactId":{"type":"string"},"offerReceiptId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","stage","expectedValue","salesChance","expectedCloseAt","renewalOf","products","notes","lostReason","responsibleUserId","contactId","offerReceiptId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/opportunities/list":{"post":{"operationId":"sales-opportunities-listOpportunities","summary":"List sales opportunities","description":"Lists opportunities in the sales pipeline <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### opportunity.read","tags":["sales / opportunities"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandate","name","stage","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","expectedValue","salesChance","expectedCloseAt","renewalOf","responsibleUser.name","responsibleUser.type","responsibleUser.userId","responsibleUser.image.resource","responsibleUser.image.fileName","responsibleUser.image.contentType","responsibleUser.image.fileSizeBytes","products","notes","lostReason","offerReceipt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"groupByStage":{"default":false,"type":"boolean"},"returnStageStats":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"opportunities":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"stage":{"type":"string","enum":["new","qualified","offer","negotiation","won","lost"]},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"expectedValue":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"salesChance":{"type":"integer","minimum":0,"maximum":100},"expectedCloseAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"renewalOf":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"responsibleUser":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0},"name":{"type":"string"}},"required":["product","quantity","name"],"additionalProperties":false}},"notes":{"type":"string","maxLength":4000},"lostReason":{"anyOf":[{"type":"string","minLength":1,"maxLength":400},{"type":"null"}]},"offerReceipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"currentOffer":{"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30},"accountName":{"type":"string"},"totalGrossAmount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"draft":{"type":"boolean"},"offerStatus":{"type":"string","enum":["open","accepted","rejected"]},"dueDate":{"type":"string"}},"required":["_id","receiptNumber","accountName","totalGrossAmount","draft","offerStatus","dueDate"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","organization","mandate","name","stage","contact","expectedValue","salesChance","expectedCloseAt","renewalOf","responsibleUser","products","notes","lostReason","offerReceipt","currentOffer"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"stageStats":{"type":"array","items":{"type":"object","properties":{"stage":{"type":"string","enum":["new","qualified","offer","negotiation","won","lost"]},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"expectedValue":{"type":"number","minimum":0},"weightedExpectedValue":{"type":"number","minimum":0}},"required":["stage","count","expectedValue","weightedExpectedValue"],"additionalProperties":false}}},"required":["opportunities","count","stageStats"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/opportunities/{opportunityId}":{"get":{"operationId":"sales-opportunities-getOpportunity","summary":"Get sales opportunity","description":"Returns one opportunity from the sales pipeline <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### opportunity.read","tags":["sales / opportunities"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"opportunityId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"stage":{"type":"string","enum":["new","qualified","offer","negotiation","won","lost"]},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"expectedValue":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"salesChance":{"type":"integer","minimum":0,"maximum":100},"expectedCloseAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"renewalOf":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"responsibleUser":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}},"notes":{"type":"string","maxLength":4000},"lostReason":{"anyOf":[{"type":"string","minLength":1,"maxLength":400},{"type":"null"}]},"offerReceipt":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["_id","organization","mandate","name","stage","contact","expectedValue","salesChance","expectedCloseAt","renewalOf","responsibleUser","products","notes","lostReason","offerReceipt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"sales-opportunities-updateOpportunity","summary":"Update sales opportunity","description":"Updates an opportunity in the sales pipeline <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### opportunity.edit\n* #### contact.read\n* #### user.read","tags":["sales / opportunities"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"opportunityId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"stage":{"type":"string","enum":["new","qualified","offer","negotiation","won","lost"]},"expectedValue":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"salesChance":{"type":"integer","minimum":0,"maximum":100},"expectedCloseAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"renewalOf":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"products":{"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}},"notes":{"type":"string","maxLength":4000},"lostReason":{"anyOf":[{"type":"string","minLength":1,"maxLength":400},{"type":"null"}]},"responsibleUserId":{"type":"string","minLength":16},"contactId":{"type":"string"},"offerReceiptId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","stage","expectedValue","salesChance","expectedCloseAt","renewalOf","products","notes","lostReason","responsibleUserId","contactId","offerReceiptId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"sales-opportunities-deleteOpportunity","summary":"Delete sales opportunity","description":"Deletes an opportunity from the sales pipeline <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### opportunity.remove","tags":["sales / opportunities"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"opportunityId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/periods":{"post":{"operationId":"sales-periods-createPeriod","summary":"Create sales period","description":"Creates a sales period used by products with sales-period stock <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### salesPeriod.insert","tags":["sales / periods"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","maxLength":2000},"startsAt":{"type":"string"},"endsAt":{"type":"string"},"productCategories":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["description","startsAt","endsAt","productCategories","name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/periods/{periodId}":{"delete":{"operationId":"sales-periods-deletePeriod","summary":"Delete sales period","description":"Deletes a sales period that has no receipt or inventory booking usage <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### salesPeriod.remove","tags":["sales / periods"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"periodId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"sales-periods-updatePeriod","summary":"Update sales period","description":"Updates a sales period used by products with sales-period stock <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### salesPeriod.edit","tags":["sales / periods"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"periodId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["name","description","startsAt","endsAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/periods/list":{"post":{"operationId":"sales-periods-listPeriods","summary":"List sales periods","description":"Lists sales periods used by products with sales-period stock <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### salesPeriod.read","tags":["sales / periods"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandate","name","description","startsAt","endsAt","productCategories"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"categoryId":{"type":"string"},"status":{"default":"active","anyOf":[{"type":"string","enum":["active","inactive"]},{"type":"null"}]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"periods":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"startsAt":{"type":"string"},"endsAt":{"type":"string"},"productCategories":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"productCategoryNames":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80}}},"required":["_id","organization","mandate","name","description","startsAt","endsAt","productCategories","productCategoryNames"],"additionalProperties":false}}},"required":["count","periods"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/categories":{"post":{"operationId":"sales-products-categories-createCategory","summary":"Create product category","description":"Creates a product category for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.insert","tags":["sales / product categories"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000}},"required":["name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/categories/{categoryId}":{"delete":{"operationId":"sales-products-categories-deleteCategory","summary":"Delete product category","description":"Deletes an unused product category for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.remove","tags":["sales / product categories"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"categoryId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"sales-products-categories-updateCategory","summary":"Update product category","description":"Updates a product category for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.edit","tags":["sales / product categories"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"categoryId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000}},"required":["name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/categories/list":{"post":{"operationId":"sales-products-categories-listCategories","summary":"List product categories","description":"Returns product categories for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / product categories"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","name","description","productCounters.active","productCounters.inactive"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"categories":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"productCounters":{"type":"object","properties":{"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"inactive":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["active","inactive"],"additionalProperties":false}},"required":["_id","mandate","name","description","productCounters"],"additionalProperties":false}}},"required":["count","categories"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products":{"post":{"operationId":"sales-products-createProduct","summary":"Create product","description":"Creates a new product for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.insert","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"imageSourceProductId":{"type":"string"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"]},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"]}],"type":"object"},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0},"initialCapacity":{"type":"number","minimum":0},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["number","name","description","category","active","unit","inventoryMode","salesPeriodInitialCapacity","price"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/productGroups":{"post":{"operationId":"sales-products-createProductGroup","summary":"Create product group","description":"Creates a new product group for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.insert\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"imageSourceProductId":{"type":"string"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}}},"required":["number","name","description","category","active","items"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/productPackages":{"post":{"operationId":"sales-products-createProductPackage","summary":"Create product package","description":"Creates a new priced product package for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.insert\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"imageSourceProductId":{"type":"string"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},"showComponentsOnReceipt":{"type":"boolean"}},"required":["number","name","description","category","active","items","price","showComponentsOnReceipt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/list":{"post":{"operationId":"sales-products-listProducts","summary":"List products","description":"Returns products for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"active":{"default":true,"type":"boolean"},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["regular","group","package"]}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"default":{"name":"asc"},"type":"object","propertyNames":{"type":"string","enum":["type","active","number","name","description","calculatedPrice.priceGross"]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"products":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","enum":["regular","group","package"]}},"required":["_id","number","name","description","active","calculatedPrice","type"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["products","count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/inventory/list":{"post":{"operationId":"sales-products-listProductsInventory","summary":"List products with inventory","description":"Returns products and optional inventory figures for a selected sales period <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"categoryId":{"type":"string"},"active":{"default":true,"type":"boolean"},"types":{"minItems":1,"type":"array","items":{"type":"string","enum":["regular","group","package"]}},"inventoryModes":{"minItems":1,"type":"array","items":{"type":"string","enum":["unlimited","global","salesPeriod"]}},"availability":{"type":"string","enum":["available","soldOut","capacityNotSet","needsAttention"]},"periodId":{"type":"string"},"includeInventory":{"default":false,"type":"boolean"},"sort":{"default":{"name":"asc"},"type":"object","propertyNames":{"type":"string","enum":["type","active","number","name","description","unit","unit.value","inventoryMode","calculatedPrice.priceGross"]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"products":{"type":"array","items":{"allOf":[{"oneOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"regular"},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"],"additionalProperties":false}],"type":"object"},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","unit","price","inventoryMode","salesPeriodInitialCapacity"],"additionalProperties":false},{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"group"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","items"],"additionalProperties":false},{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"package"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"showComponentsOnReceipt":{"type":"boolean"}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","items","price","showComponentsOnReceipt"],"additionalProperties":false}],"type":"object"},{"type":"object","properties":{"inventory":{"anyOf":[{"type":"object","properties":{"requiresPeriod":{"type":"boolean"},"periodSelected":{"type":"boolean"},"capacity":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"used":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"sold":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"committed":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"reserved":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"available":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["requiresPeriod","periodSelected","capacity","used","sold","committed","reserved","available"],"additionalProperties":false},{"type":"null"}]}},"required":["inventory"],"additionalProperties":false},{"type":"object","properties":{"categoryName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["categoryName"],"additionalProperties":false}]}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["products","count"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/{productId}":{"get":{"operationId":"sales-products-getProduct","summary":"Get product","description":"Returns a specific product with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"allOf":[{"oneOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"regular"},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"],"additionalProperties":false}],"type":"object"},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","unit","price","inventoryMode","salesPeriodInitialCapacity"],"additionalProperties":false},{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"group"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","items"],"additionalProperties":false},{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"package"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"showComponentsOnReceipt":{"type":"boolean"}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","items","price","showComponentsOnReceipt"],"additionalProperties":false}],"type":"object"},{"type":"object","properties":{"inventory":{"type":"null"}},"required":["inventory"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"sales-products-updateProduct","summary":"Update product","description":"Updates a specific product for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.edit","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"]},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"]}],"type":"object"},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]}},"required":["number","name","description","category","active","unit","inventoryMode","salesPeriodInitialCapacity","price"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"sales-products-deleteProduct","summary":"Delete product","description":"Deletes a specific product for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.remove","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/{productId}/components":{"get":{"operationId":"sales-products-getProductComponents","summary":"Get product components","description":"Returns the regular product components used for inventory handling <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"product":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"regular"},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"],"additionalProperties":false}],"type":"object"},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","unit","price","inventoryMode","salesPeriodInitialCapacity"],"additionalProperties":false},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/products/{productId}/receiptItems":{"get":{"operationId":"sales-products-getProductReceiptItems","summary":"Get product receipt items","description":"Resolves a product into its priced receipt items and inventory components <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"regular"},"product":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"regular"},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"],"additionalProperties":false}],"type":"object"},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","unit","price","inventoryMode","salesPeriodInitialCapacity"],"additionalProperties":false},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["type","product","quantity"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"package"},"product":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"package"},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"showComponentsOnReceipt":{"type":"boolean"}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","items","price","showComponentsOnReceipt"],"additionalProperties":false},"quantity":{"type":"number","exclusiveMinimum":0},"components":{"type":"array","items":{"type":"object","properties":{"product":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"organization":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"active":{"type":"boolean"},"calculatedPrice":{"type":"object","properties":{"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["priceNet","priceGross"],"additionalProperties":false},"type":{"type":"string","const":"regular"},"unit":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"default"},"value":{"type":"string","enum":["piece","meter","hour","minute","second","squareMeter","kilogram","gram","item","seat","ticket","event","liter","milliliter","day","week","month","flatRate","portion","set"]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"custom"},"value":{"type":"string","minLength":1,"maxLength":40}},"required":["type","value"],"additionalProperties":false}],"type":"object"},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"inventoryMode":{"type":"string","enum":["unlimited","global","salesPeriod"]},"salesPeriodInitialCapacity":{"type":"number","minimum":0}},"required":["_id","organization","mandate","number","name","description","category","image","active","calculatedPrice","type","unit","price","inventoryMode","salesPeriodInitialCapacity"],"additionalProperties":false},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"],"additionalProperties":false}}},"required":["type","product","quantity","components"],"additionalProperties":false}],"type":"object"}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/productGroups/{productId}":{"post":{"operationId":"sales-products-updateProductGroup","summary":"Update product group","description":"Updates a specific product group for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.edit\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}}},"required":["number","name","description","category","active","items"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/sales/productPackages/{productId}":{"post":{"operationId":"sales-products-updateProductPackage","summary":"Update product package","description":"Updates a priced product package for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### product.edit\n* #### product.read","tags":["sales / products"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"productId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":32},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"category":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"active":{"type":"boolean"},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"product":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"quantity":{"type":"number","exclusiveMinimum":0}},"required":["product","quantity"]}},"price":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},"showComponentsOnReceipt":{"type":"boolean"}},"required":["number","name","description","category","active","items","price","showComponentsOnReceipt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/donation/setup":{"post":{"operationId":"donation-setupDonations","summary":"Setup donations","description":"Sets up the initial donation settings of a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.insert","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"membershipFees":{"type":"boolean"},"countrySettings":{"type":"object","properties":{"de":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","exemptionNotice","determinationNotice","onlineGeneratedMessage","requireAddressAboveAmount"]},"lu":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","exemptionNotice","determinationNotice","onlineGeneratedMessage","requireAddressAboveAmount"]},"ch":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","exemptionNotice","determinationNotice","onlineGeneratedMessage","requireAddressAboveAmount"]},"at":{"type":"object","properties":{"fastNrOrg":{"anyOf":[{"type":"number","maximum":999999999},{"type":"null"}]},"bankParticipantId":{"type":"string","maxLength":50},"orgType":{"anyOf":[{"type":"string","enum":["AS","BI","FF","FW","GM","KK","KR","MÖ","MP","NT","ÖK","ÖS","PA","PK","PS","SE","SG","SN","SO","SP","SV","UN","ZG","ZI"]},{"type":"null"}]}},"required":["fastNrOrg","bankParticipantId","orgType"]},"us":{"not":{}}},"additionalProperties":false},"updatedFinancesSettings":{"type":"object","properties":{"taxID":{"type":"string"},"taxOfficeName":{"type":"string","maxLength":40}}},"taxOfficeName":{"type":"string","maxLength":40}},"required":["membershipFees","countrySettings","updatedFinancesSettings"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/donation/disable":{"post":{"operationId":"donation-disableDonation","summary":"Disable donations","description":"Deletes all donation settings and disables donations for a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.edit","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations":{"post":{"operationId":"donation-donations-createDonation","summary":"Create donation","description":"Creates a new donation for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.insert","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["cash","membershipFee","assetStock","refund","nonCash"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"},"nonCash":{"type":"object","properties":{"source":{"type":"string","enum":["business","private","unknown"]},"hasPapers":{"type":"boolean"}},"required":["source","hasPapers"]},"description":{"type":"string","maxLength":400}},"required":["type","value","date","description"]}},"confirmationSendMethod":{"type":"string","enum":["none","email","postal"]},"donator":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]},"type":{"type":"string","enum":["business","person"]},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"}},"required":["name","address","email","account"]}},"required":["positions","confirmationSendMethod","donator"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","minLength":1}},"required":["_id","number"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"donation-donations-deleteDonation","summary":"Delete donation","description":"Deletes a specific donation for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.remove","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"query","name":"donationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations/createDonationsFromReceipts":{"post":{"operationId":"donation-donations-createDonationsFromReceipts","summary":"Create donations from receipts","description":"Creates donations based on paid receipts for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### receipt.edit\n* #### donation.insert","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"hasReceipt":{"type":"boolean"},"view":{"type":"string","enum":["outgoing","sales","salesArchived","incoming","payable","payableOutgoing","payableIncoming","paid","paidOutgoing","paidIncoming","allDue","allDueOutgoing","allDueIncoming","reminder","overdue","overdueOutgoing","overdueIncoming","due","dueOutgoing","dueIncoming","collectAll","collectOverdue","collectDue","collectOverdueDirectDebits","collectDueDirectDebits","collectOverdueOnlineDebits","collectDueOnlineDebits","pending","draft","canceled","canceledOutgoing","canceledIncoming","archived","archivedOutgoing","archivedIncoming","withDonation","requireDonation"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"sendConfirmation":{"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["sendConfirmation"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations/list":{"post":{"operationId":"donation-donations-listDonations","summary":"List donations","description":"Returns a list of donations for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.read","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","number","numberSort","donator.name","donator.nameNormalized","donator.nameSort","donator.address.country","donator.address.state","donator.address.zip","donator.address.city","donator.address.addressLine","donator.address.details1","donator.address.details2","donator.email","donator.account","receiptNumbers","positions","confirmationSendMethod","confirmationFile","confirmationFileName","confirmationDispatchStatus.openedAt","confirmationDispatchStatus.clickedAt","confirmationDispatchStatus.unsubscribedAt","confirmationDispatchStatus.sentAt","confirmationDispatchStatus.dispatchedBy.name","confirmationDispatchStatus.dispatchedBy.type","confirmationDispatchStatus.dispatchedBy.userId","confirmationDispatchStatus.dispatchedBy.image.resource","confirmationDispatchStatus.dispatchedBy.image.fileName","confirmationDispatchStatus.dispatchedBy.image.contentType","confirmationDispatchStatus.dispatchedBy.image.fileSizeBytes","confirmationDispatchStatus.dispatchedBy.key","confirmationDispatchStatus.sendStatus","confirmationDispatchStatus.sendError","confirmationDispatchStatus.sendPrice","revokedAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"includeRevoked":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"donations":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","minLength":1},"numberSort":{"anyOf":[{"type":"number"},{"type":"null"}]},"donator":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["name","nameNormalized","nameSort","address","email","account"],"additionalProperties":false},"receiptNumbers":{"type":"array","items":{"type":"string"}},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["cash","membershipFee","assetStock","refund","nonCash"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"},"nonCash":{"type":"object","properties":{"source":{"type":"string","enum":["business","private","unknown"]},"hasPapers":{"type":"boolean"}},"required":["source","hasPapers"],"additionalProperties":false},"description":{"type":"string","maxLength":400}},"required":["type","value","date","description"],"additionalProperties":false}},"confirmationSendMethod":{"type":"string","enum":["none","email","postal"]},"confirmationFile":{"type":"string"},"confirmationFileName":{"type":"string"},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","number","numberSort","donator","receiptNumbers","positions","confirmationSendMethod","confirmationFile","confirmationFileName","confirmationDispatchStatus","revokedAt"],"additionalProperties":false}}},"required":["count","donations"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations/{donationId}":{"get":{"operationId":"donation-donations-getDonation","summary":"Get donation","description":"Returns a specific donation with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.read","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"donationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"number":{"type":"string","minLength":1},"numberSort":{"anyOf":[{"type":"number"},{"type":"null"}]},"donator":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["name","nameNormalized","nameSort","address","email","account"],"additionalProperties":false},"receiptNumbers":{"type":"array","items":{"type":"string"}},"positions":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["cash","membershipFee","assetStock","refund","nonCash"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"},"nonCash":{"type":"object","properties":{"source":{"type":"string","enum":["business","private","unknown"]},"hasPapers":{"type":"boolean"}},"required":["source","hasPapers"],"additionalProperties":false},"description":{"type":"string","maxLength":400}},"required":["type","value","date","description"],"additionalProperties":false}},"confirmationSendMethod":{"type":"string","enum":["none","email","postal"]},"confirmationFile":{"type":"string"},"confirmationFileName":{"type":"string"},"confirmationDispatchStatus":{"anyOf":[{"type":"object","properties":{"openedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"clickedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"unsubscribedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"sentAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"dispatchedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"sendStatus":{"type":"string","enum":["none","manual","dispatching","dispatched","sent","opened","failed"]},"sendError":{"anyOf":[{"type":"string","enum":["NO_CREDITS_ENOUGH"]},{"type":"string","maxLength":1000}]},"sendPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["openedAt","sentAt","dispatchedBy","sendStatus","sendError","sendPrice"],"additionalProperties":false},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","number","numberSort","donator","receiptNumbers","positions","confirmationSendMethod","confirmationFile","confirmationFileName","confirmationDispatchStatus","revokedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donations/{donationId}/downloadConfirmation":{"get":{"operationId":"donation-donations-downloadConfirmation","summary":"Download confirmation","description":"Downloads the confirmation document for a specific donation for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.read\n### Permissions if markAsSent is true:\n* #### donation.edit\n","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"donationId","schema":{"type":"string"},"required":true},{"in":"query","name":"markAsSent","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"documentUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["documentUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations/updateDonationSendDetails":{"post":{"operationId":"donation-donations-updateDonationSendDetails","summary":"Update donation send details","description":"Updates the send details of a specific donation for a given mandate and resends the confirmation <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.edit","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sendMethod":{"type":"string","enum":["email","postal"]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]},"donationId":{"type":"string"}},"required":["sendMethod","donationId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"resent":{"type":"number"},"created":{"type":"number"}},"required":["resent","created"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/donations/{donationId}/revoke":{"post":{"operationId":"donation-donations-revokeDonation","summary":"Revoke donation","description":"Revokes a specific donation for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### donation.edit","tags":["donation / donations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"donationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sendDonation":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/donation/settings":{"get":{"operationId":"donation-settings-getSettings","summary":"Get donation settings","description":"Returns the donation settings of a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.read","tags":["finance"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"query","name":"modifiedBefore","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},{"in":"query","name":"modifiedAfter","schema":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"membershipFees":{"type":"boolean"},"countrySettings":{"type":"object","properties":{"de":{"type":"object","properties":{"signature":{"type":"string","maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"],"additionalProperties":false},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"],"additionalProperties":false},{"type":"null"}]}},"required":["signature","purpose","onlineGeneratedMessage","requireAddressAboveAmount","exemptionNotice","determinationNotice"],"additionalProperties":false},"lu":{"type":"object","properties":{"signature":{"type":"string","maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"],"additionalProperties":false},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"],"additionalProperties":false},{"type":"null"}]}},"required":["signature","purpose","onlineGeneratedMessage","requireAddressAboveAmount","exemptionNotice","determinationNotice"],"additionalProperties":false},"ch":{"type":"object","properties":{"signature":{"type":"string","maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"requireAddressAboveAmount":{"type":"number","minimum":0},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"],"additionalProperties":false},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"],"additionalProperties":false},{"type":"null"}]}},"required":["signature","purpose","onlineGeneratedMessage","requireAddressAboveAmount","exemptionNotice","determinationNotice"],"additionalProperties":false},"at":{"type":"object","properties":{"fastNrOrg":{"anyOf":[{"type":"number","maximum":999999999},{"type":"null"}]},"bankParticipantId":{"type":"string","maxLength":50},"orgType":{"anyOf":[{"type":"string","enum":["AS","BI","FF","FW","GM","KK","KR","MÖ","MP","NT","ÖK","ÖS","PA","PK","PS","SE","SG","SN","SO","SP","SV","UN","ZG","ZI"]},{"type":"null"}]}},"required":["fastNrOrg","bankParticipantId","orgType"],"additionalProperties":false},"us":{"not":{}}},"additionalProperties":false},"confirmation":{"type":"object","properties":{"enabled":{"type":"boolean"},"send":{"type":"boolean"},"useDocumentOnlyForLetters":{"type":"boolean"},"documentContent":{"type":"string","maxLength":4000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["enabled","send","useDocumentOnlyForLetters","documentContent","subject","message"],"additionalProperties":false}},"required":["membershipFees","countrySettings","confirmation"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"donation-settings-updateSettings","summary":"Update donation settings","description":"Updates the donation settings of a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.edit","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"membershipFees":{"type":"boolean"},"countrySettings":{"type":"object","properties":{"de":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","onlineGeneratedMessage","exemptionNotice","determinationNotice","requireAddressAboveAmount"]},"lu":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","onlineGeneratedMessage","exemptionNotice","determinationNotice","requireAddressAboveAmount"]},"ch":{"type":"object","properties":{"signature":{"type":"string","minLength":1,"maxLength":30000},"purpose":{"type":"string","maxLength":300},"onlineGeneratedMessage":{"type":"string","minLength":1,"maxLength":400},"exemptionNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"assessmentPeriod":{"type":"string"}},"required":["from","assessmentPeriod"]},{"type":"null"}]},"determinationNotice":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]},{"type":"null"}]},"requireAddressAboveAmount":{"type":"number","minimum":0}},"required":["signature","purpose","onlineGeneratedMessage","exemptionNotice","determinationNotice","requireAddressAboveAmount"]},"at":{"type":"object","properties":{"fastNrOrg":{"anyOf":[{"type":"number","maximum":999999999},{"type":"null"}]},"bankParticipantId":{"type":"string","maxLength":50},"orgType":{"anyOf":[{"type":"string","enum":["AS","BI","FF","FW","GM","KK","KR","MÖ","MP","NT","ÖK","ÖS","PA","PK","PS","SE","SG","SN","SO","SP","SV","UN","ZG","ZI"]},{"type":"null"}]}},"required":["fastNrOrg","bankParticipantId","orgType"]},"us":{"not":{}}},"additionalProperties":false},"confirmation":{"type":"object","properties":{"enabled":{"type":"boolean"},"send":{"type":"boolean"},"useDocumentOnlyForLetters":{"type":"boolean"},"documentContent":{"type":"string","maxLength":4000},"subject":{"type":"string","minLength":1,"maxLength":998},"message":{"type":"string","minLength":1,"maxLength":10000}},"required":["enabled","send","useDocumentOnlyForLetters","documentContent","subject","message"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/donation/settings/confirmation/document":{"get":{"operationId":"donation-settings-getConfirmationDocumentContent","summary":"Get confirmation document content","description":"Returns the contents of the confirmation document for a given organization <br /><br /> \n### Required permissions:\n* #### receiptTemplate.read","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema8"},"attachment":{"$ref":"#/components/schemas/__schema8"}},"required":["paper","attachment"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"donation-settings-updateConfirmationDocumentContent","summary":"Update confirmation document content","description":"Updates the contents of the confirmation document for a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.edit","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paper":{"$ref":"#/components/schemas/__schema3"},"attachment":{"$ref":"#/components/schemas/__schema3"}},"required":["paper","attachment"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/donation/settings/confirmation/document/restore":{"post":{"operationId":"donation-settings-restoreConfirmationDocumentContent","summary":"Restore confirmation document content","description":"Restores the contents of the confirmation document to its default values for a given organization <br /><br /> \n### Required permissions:\n* #### donationsSettings.edit","tags":["donation"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/{austrianDonationSubmissionId}":{"get":{"operationId":"donation-austrianDonationSubmissions-getAustrianDonationSubmission","summary":"Get donation submission","description":"Gets a specific donation submission with all of its details <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.read","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"messageRefID":{"type":"string","minLength":1,"maxLength":36},"exportDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reportingYear":{"type":"number"},"submissionType":{"type":"string","enum":["E","A","S"]},"exportFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"returnFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"vbPkExportFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"vbPkReturnFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"status":{"type":"string","enum":["error","donator_creating","donator_available","donator_returnedProcessing","donator_returnedError","donator_returnedPartialSuccess","donator_returnedSuccess","donations_creating","donations_available","donations_returnedProcessing","donations_returnedError","donations_returnedPartialSuccess","donations_returnedSuccess"]},"statusMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"submittedDonations":{"type":"array","items":{"type":"object","properties":{"debtorName":{"type":"string","minLength":1,"maxLength":81},"debtorAccount":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"number"},"donations":{"minItems":1,"type":"array","items":{"type":"object","properties":{"donation":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"positions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"}},"required":["value","date"],"additionalProperties":false}}},"required":["donation","positions"],"additionalProperties":false}},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorText":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["debtorName","debtorAccount","amount","donations","errorCode","errorText"],"additionalProperties":false}},"ignoreDebtorsMissingBirthDate":{"type":"boolean"},"ignoreSubmitedDebtors":{"type":"boolean"}},"required":["_id","mandate","messageRefID","exportDate","reportingYear","submissionType","exportFile","returnFile","vbPkExportFile","vbPkReturnFile","status","statusMessage","submittedDonations","ignoreDebtorsMissingBirthDate","ignoreSubmitedDebtors"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"donation-austrianDonationSubmissions-deleteAustrianDonationSubmission","summary":"Delete donation submission","description":"Deletes a specific donation submission for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.remove","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/list":{"post":{"operationId":"donation-austrianDonationSubmissions-listAustrianDonationSubmissions","summary":"List donation submissions","description":"Gets a list of donation submissions for the mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.read","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","messageRefID","exportDate","reportingYear","submissionType","exportFile.resource","exportFile.fileName","exportFile.contentType","exportFile.fileSizeBytes","returnFile.resource","returnFile.fileName","returnFile.contentType","returnFile.fileSizeBytes","vbPkExportFile.resource","vbPkExportFile.fileName","vbPkExportFile.contentType","vbPkExportFile.fileSizeBytes","vbPkReturnFile.resource","vbPkReturnFile.fileName","vbPkReturnFile.contentType","vbPkReturnFile.fileSizeBytes","status","statusMessage","submittedDonations","ignoreDebtorsMissingBirthDate","ignoreSubmitedDebtors"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"austrianDonationSubmissions":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"messageRefID":{"type":"string","minLength":1,"maxLength":36},"exportDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reportingYear":{"type":"number"},"submissionType":{"type":"string","enum":["E","A","S"]},"exportFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"returnFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"vbPkExportFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"vbPkReturnFile":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"status":{"type":"string","enum":["error","donator_creating","donator_available","donator_returnedProcessing","donator_returnedError","donator_returnedPartialSuccess","donator_returnedSuccess","donations_creating","donations_available","donations_returnedProcessing","donations_returnedError","donations_returnedPartialSuccess","donations_returnedSuccess"]},"statusMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"submittedDonations":{"type":"array","items":{"type":"object","properties":{"debtorName":{"type":"string","minLength":1,"maxLength":81},"debtorAccount":{"type":"integer","minimum":1,"maximum":999999999},"amount":{"type":"number"},"donations":{"minItems":1,"type":"array","items":{"type":"object","properties":{"donation":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"positions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"}},"required":["value","date"],"additionalProperties":false}}},"required":["donation","positions"],"additionalProperties":false}},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorText":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["debtorName","debtorAccount","amount","donations","errorCode","errorText"],"additionalProperties":false}},"ignoreDebtorsMissingBirthDate":{"type":"boolean"},"ignoreSubmitedDebtors":{"type":"boolean"}},"required":["_id","mandate","messageRefID","exportDate","reportingYear","submissionType","exportFile","returnFile","vbPkExportFile","vbPkReturnFile","status","statusMessage","submittedDonations","ignoreDebtorsMissingBirthDate","ignoreSubmitedDebtors"],"additionalProperties":false}}},"required":["count","austrianDonationSubmissions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions":{"post":{"operationId":"donation-austrianDonationSubmissions-createAustrianDonationSubmission","summary":"Creates donation submission","description":"Creates a new donation submission for the given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.insert","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reportingYear":{"type":"number"},"submissionType":{"type":"string","enum":["E","A","S"]},"ignoreDebtorsMissingBirthDate":{"type":"boolean"},"ignoreSubmitedDebtors":{"type":"boolean"}},"required":["reportingYear","submissionType","ignoreDebtorsMissingBirthDate","ignoreSubmitedDebtors"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/{austrianDonationSubmissionId}/return":{"post":{"operationId":"donation-austrianDonationSubmissions-processAustrianDonationSubmissionResponse","summary":"Process Austrian donation submission return","description":"Processes the return file of an Austrian donation submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.insert","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"returnFile":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]}},"required":["returnFile"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/listDonatorsForVBPK":{"post":{"operationId":"donation-austrianDonationSubmissions-listDonatorsForVBPK","summary":"List donators for VBPK","description":"List of donators for the VBPK <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.read","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","totalValue","countPositions","donator.name","donator.nameNormalized","donator.nameSort","donator.address.country","donator.address.state","donator.address.zip","donator.address.city","donator.address.addressLine","donator.address.details1","donator.address.details2","donator.email","donator.account","debtor._id","debtor.account","debtor.name","debtor.birthdate","debtor.vbPK","donations"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"periodYear":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"missingVBPKOnly":{"type":"boolean"},"limitDebtors":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"ignoreSubmitedDebtors":{"type":"boolean"},"ignoreDebtorsMissingBirthDate":{"type":"boolean"}},"required":["periodYear","missingVBPKOnly"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"groupedDonations":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"totalValue":{"type":"number"},"countPositions":{"type":"number"},"donator":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"account":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999999},{"type":"null"}]}},"required":["name","nameNormalized","nameSort","address","email","account"],"additionalProperties":false},"debtor":{"default":null,"anyOf":[{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"account":{"type":"integer","minimum":1,"maximum":999999999},"name":{"type":"string","minLength":1,"maxLength":81},"birthdate":{"anyOf":[{"type":"string"},{"type":"null"}]},"vbPK":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]}},"required":["_id","account","name","birthdate","vbPK"],"additionalProperties":false},{"type":"null"}]},"donations":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"positions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"date":{"type":"string"}},"required":["value","date"],"additionalProperties":false}}},"required":["_id","positions"],"additionalProperties":false}}},"required":["_id","totalValue","countPositions","donator","debtor","donations"],"additionalProperties":false}}},"required":["count","groupedDonations"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/{austrianDonationSubmissionId}/file/{fileType}":{"get":{"operationId":"donation-austrianDonationSubmissions-getAustrianDonationSubmissionFile","summary":"Get Austrian donation submission file","description":"Gets a specific Austrian donation submission file <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.read","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true},{"in":"path","name":"fileType","schema":{"type":"string","enum":["vbPkExportFile","exportFile","vbPkReturnFile","returnFile"]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"fileName":{"type":"string"},"contentType":{"type":"string"}},"required":["url"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/{austrianDonationSubmissionId}/vbPkResponse":{"post":{"operationId":"donation-austrianDonationSubmissions-processAustrianDonationSubmissionVBPKResponse","summary":"Process Austrian donation submission VBPK response","description":"Processes the VBPK return file of an Austrian donation submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.insert","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"vbPkReturnFile":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]}},"required":["vbPkReturnFile"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/donation/austrianDonationSubmissions/{austrianDonationSubmissionId}/processAustrianDonationSubmissionExport":{"post":{"operationId":"donation-austrianDonationSubmissions-processAustrianDonationSubmissionExport","summary":"Process Austrian donation submission export","description":"Processes the export file of an Austrian donation submission <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### austrianDonationSubmission.insert","tags":["donation / austrianDonationSubmissions"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"austrianDonationSubmissionId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events":{"post":{"operationId":"booking-events-createEvent","summary":"Create event","description":"Creates a new event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.insert","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"default":"","type":"string","maxLength":140},"place":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["resource","address","online"]},"resource":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string","minLength":1},"siteAddress":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["site","siteName","siteAddress","resource","resourceName"]},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},{"type":"null"}]},"online":{"type":"object","properties":{"url":{"type":"string","maxLength":300,"format":"uri"},"instructions":{"type":"string","maxLength":400}},"required":["url","instructions"]}},"required":["type"]},{"type":"null"}]},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"]}}},"required":["title"]},"schedule":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"rrule":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"blocking":{"default":null,"anyOf":[{"type":"object","properties":{"holidays":{"anyOf":[{"type":"object","properties":{"public":{"type":"boolean"},"school":{"type":"boolean"},"countryCode":{"type":"string","enum":["DE","LU","AT","CH"]},"stateCode":{"default":"","type":"string"}},"required":["public","school","countryCode"]},{"type":"null"}]},"ics":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":1000,"format":"uri"}},"required":["url"]},{"type":"null"}]}},"required":["holidays","ics"]},{"type":"null"}]},"blockingMode":{"default":"none","type":"string","enum":["none","extend"]}},"required":["timezone"]},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"offer":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"hasPermanentAttendees":{"default":false,"type":"boolean"},"attendeeMode":{"default":"multiple","type":"string","enum":["multiple","single","team","rate"]},"instructors":{"type":"array","items":{"type":"string"}}},"required":["info","schedule","period"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"blocked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["inserted","blocked"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}":{"get":{"operationId":"booking-events-getEvent","summary":"Get event","description":"Returns a specific event with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"details":{"type":"string","maxLength":25000},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"place":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["resource","address","online"]},"resource":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string","minLength":1},"siteAddress":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["site","siteName","siteAddress","resource","resourceName","quantity"],"additionalProperties":false},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"online":{"type":"object","properties":{"url":{"type":"string","maxLength":300,"format":"uri"},"instructions":{"type":"string","maxLength":400}},"required":["url","instructions"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"string array"},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"],"additionalProperties":false}}},"required":["title","description","details","image","color","place","tags","categories"],"additionalProperties":false},"settings":{"type":"object","properties":{"acceptCancelMode":{"type":"string","enum":["optIn","optOut"]},"selfCheckInBeforeMinutes":{"type":"number","minimum":0},"maxAttendees":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"minAttendees":{"anyOf":[{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"deadlineRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"deadline":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["count","deadlineRelative","deadline"],"additionalProperties":false},{"type":"null"}]},"waitlist":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["ordered","random","manual"]},"offerAvailableHours":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]}},"required":["mode","offerAvailableHours"],"additionalProperties":false},{"type":"null"}]},"permanent":{"type":"boolean"},"notifyFirstHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifySecondHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifyThirdHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"confirmationMailText":{"type":"string","maxLength":5000},"confirmationMailAttachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]},"waitlistMailText":{"type":"string","maxLength":5000},"checkIn":{"type":"object","properties":{"qrCode":{"type":"boolean"}},"required":["qrCode"],"additionalProperties":false}},"required":["acceptCancelMode","selfCheckInBeforeMinutes","maxAttendees","minAttendees","waitlist","permanent","notifyFirstHours","notifySecondHours","notifyThirdHours","confirmationMailText","confirmationMailAttachments","waitlistMailText","checkIn"],"additionalProperties":false},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["payUntil"],"additionalProperties":false},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"attachReceipt":{"type":"boolean"},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates","perTicket"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"variants":{"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"],"additionalProperties":false}},{"type":"null"}]},"anonymous":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","availableAmount"],"additionalProperties":false}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions","availableAmount"],"additionalProperties":false}},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"from":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"to":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","from","toType","toDate","toRelative","to"],"additionalProperties":false},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"],"additionalProperties":false},"rate":{"default":null,"anyOf":[{"type":"object","properties":{"canBookMultipleRates":{"type":"boolean"},"canBookByQuantity":{"type":"boolean"}},"required":["canBookMultipleRates","canBookByQuantity"],"additionalProperties":false},{"type":"null"}]},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"],"additionalProperties":false},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"],"additionalProperties":false},{"type":"null"}]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"],"additionalProperties":false},"offer":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"offerName":{"type":"string"},"mode":{"type":"string","enum":["disabled","private","protected","public"]},"ratesStatistics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"attendees":{"type":"integer","minimum":0,"maximum":9007199254740991},"teamMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"waitlisted":{"type":"integer","minimum":0,"maximum":9007199254740991},"offered":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkedIn":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attendees","waitlisted","offered","pending","confirmed","canceled","checkedIn"],"additionalProperties":false}},"seriesStatistics":{"type":"object","properties":{"canceled":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":9007199254740991},"to":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["from","to"],"additionalProperties":false}},"deleted":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":0,"maximum":9007199254740991},"to":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["from","to"],"additionalProperties":false}}},"required":["canceled"],"additionalProperties":false},"servicesBooked":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"useCustomRates":{"type":"boolean"}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","paymentDueDate","disallowCancelation","refundPolicies","refundText","form","formSettings","attachReceipt","rates","services","availability","attendeeMode","team","rate","bookingRestriction","displaySettings","serviceSettings","permanent","offer","offerName","mode","ratesStatistics","seriesStatistics","servicesBooked","useCustomRates"],"additionalProperties":false},"schedule":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"meetBeforeMinutes":{"type":"integer","minimum":0,"maximum":240},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocking":{"anyOf":[{"type":"object","properties":{"holidays":{"anyOf":[{"type":"object","properties":{"public":{"type":"boolean"},"school":{"type":"boolean"},"countryCode":{"type":"string","enum":["DE","LU","AT","CH"]},"stateCode":{"type":"string"}},"required":["public","school","countryCode","stateCode"],"additionalProperties":false},{"type":"null"}]},"ics":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":1000,"format":"uri"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url","error"],"additionalProperties":false},{"type":"null"}]}},"required":["holidays","ics"],"additionalProperties":false},{"type":"null"}]},"blockingMode":{"default":"none","type":"string","enum":["none","extend"]}},"required":["timezone","meetBeforeMinutes","rrule","blocking","blockingMode"],"additionalProperties":false},"series":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":10},"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"default":"active","type":"string","enum":["active","deleted","canceled"]},"skip":{"type":"object","properties":{"deleted":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"blocked":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["deleted","blocked"],"additionalProperties":false},"overrides":{"type":"object","properties":{"place":{"type":"boolean","const":true}},"additionalProperties":false}},"required":["id","index","total","status"],"additionalProperties":false},"instructors":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false}],"type":"object"}},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"status":{"type":"string","enum":["available","blockedResource","blockedCalendar"]},"warning":{"type":"string","enum":["noAvailableExtendedPeriod"]}},"required":["from","to","status"],"additionalProperties":false},"statistics":{"type":"object","properties":{"attendees":{"type":"integer","minimum":0,"maximum":9007199254740991},"teamMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"waitlisted":{"type":"integer","minimum":0,"maximum":9007199254740991},"offered":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkedIn":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attendees","waitlisted","offered","pending","confirmed","canceled","checkedIn"],"additionalProperties":false},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"canceledBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"reason":{"type":"string","maxLength":240}},"required":["canceledAt","canceledBy","reason"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","info","settings","offer","schedule","series","instructors","period","statistics","cancelation"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-events-updateEvent","summary":"Update event","description":"Updates a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"details":{"type":"string","maxLength":25000},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"]}},"place":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["resource","address","online"]},"resource":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string","minLength":1},"siteAddress":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["site","siteName","siteAddress","resource","resourceName"]},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},{"type":"null"}]},"online":{"type":"object","properties":{"url":{"type":"string","maxLength":300,"format":"uri"},"instructions":{"type":"string","maxLength":400}},"required":["url","instructions"]}},"required":["type"]},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]}},"required":["title","description","details","color","tags","categories","place"]},"settings":{"type":"object","properties":{"acceptCancelMode":{"type":"string","enum":["optIn","optOut"]},"selfCheckInBeforeMinutes":{"type":"number","minimum":0},"checkIn":{"type":"object","properties":{"qrCode":{"type":"boolean"}},"required":["qrCode"]},"maxAttendees":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"minAttendees":{"anyOf":[{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"deadlineRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"deadline":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["count","deadlineRelative"]},{"type":"null"}]},"waitlist":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["ordered","random","manual"]},"offerAvailableHours":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]}},"required":["mode","offerAvailableHours"]},{"type":"null"}]},"permanent":{"type":"boolean"},"notifyFirstHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifySecondHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifyThirdHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"confirmationMailText":{"type":"string","maxLength":5000},"waitlistMailText":{"type":"string","maxLength":5000},"confirmationMailAttachments":{"anyOf":[{"maxItems":1,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},{"type":"null"}]}},"required":["acceptCancelMode","selfCheckInBeforeMinutes","checkIn","maxAttendees","minAttendees","waitlist","permanent","notifyFirstHours","notifySecondHours","notifyThirdHours","confirmationMailText","waitlistMailText"]},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"from":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","toType","toDate","toRelative"]},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"]},"rate":{"default":null,"anyOf":[{"type":"object","properties":{"canBookMultipleRates":{"type":"boolean"},"canBookByQuantity":{"type":"boolean"}},"required":["canBookMultipleRates","canBookByQuantity"]},{"type":"null"}]},"attachReceipt":{"type":"boolean"},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"]},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"]},{"type":"null"}]}},"required":["sessionMinutes","sessionRetries","availability","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","attendeeMode","formSettings","displaySettings","team","attachReceipt","bookingRestriction","permanent"]},"schedule":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"meetBeforeMinutes":{"type":"integer","minimum":0,"maximum":240},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocking":{"anyOf":[{"type":"object","properties":{"holidays":{"anyOf":[{"type":"object","properties":{"public":{"type":"boolean"},"school":{"type":"boolean"},"countryCode":{"type":"string","enum":["DE","LU","AT","CH"]},"stateCode":{"default":"","type":"string"}},"required":["public","school","countryCode"]},{"type":"null"}]},"ics":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":1000,"format":"uri"}},"required":["url"]},{"type":"null"}]}},"required":["holidays","ics"]},{"type":"null"}]},"blockingMode":{"default":"none","type":"string","enum":["none","extend"]}},"required":["meetBeforeMinutes","blocking"]},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"instructors":{"type":"array","items":{"type":"string"}},"applyToFutureEvents":{"default":false,"type":"boolean"},"notifyAttendees":{"default":true,"type":"boolean"},"preserveDeletedEvents":{"default":false,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"deleted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"blocked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["inserted","updated","deleted","blocked"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-events-deleteEvent","summary":"Delete event","description":"Deletes a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.remove","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"query","name":"deleteFutureEvents","schema":{"type":"boolean"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/list":{"post":{"operationId":"booking-events-listEvents","summary":"List events","description":"Returns a list of events for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","statistics.attendees","statistics.teamMembers","statistics.waitlisted","statistics.offered","statistics.pending","statistics.confirmed","statistics.canceled","statistics.checkedIn","series.id","series.index","series.total","series.status","series.skip.deleted","series.skip.blocked","series.overrides.place","info.title","info.description","info.color","info.image.resource","info.image.fileName","info.image.contentType","info.image.fileSizeBytes","info.place.type","info.place.resource.site","info.place.resource.siteName","info.place.resource.siteAddress.country","info.place.resource.siteAddress.state","info.place.resource.siteAddress.zip","info.place.resource.siteAddress.city","info.place.resource.siteAddress.addressLine","info.place.resource.siteAddress.details1","info.place.resource.siteAddress.details2","info.place.resource.resource","info.place.resource.resourceName","info.place.resource.quantity","info.place.address.country","info.place.address.state","info.place.address.zip","info.place.address.city","info.place.address.addressLine","info.place.address.details1","info.place.address.details2","info.place.location.latitude","info.place.location.longitude","info.place.online.url","info.place.online.instructions","info.tags","info.categories","settings.maxAttendees","settings.minAttendees.count","settings.minAttendees.deadlineRelative.value","settings.minAttendees.deadlineRelative.unit","settings.minAttendees.deadline","settings.permanent","offer.mode","offer.offerName","offer.attendeeMode","offer.availability.fromType","offer.availability.fromDate","offer.availability.fromRelative.value","offer.availability.fromRelative.unit","offer.availability.from","offer.availability.toType","offer.availability.toDate","offer.availability.toRelative.value","offer.availability.toRelative.unit","offer.availability.to","offer.rates","offer.services","offer.bookingRestriction","offer.permanent.beforeStart","offer.permanent.proRata","offer.displaySettings.seatsAvailableThreshold","schedule.rrule","schedule.timezone","schedule.meetBeforeMinutes","instructors","period.from","period.to","period.status","period.warning","cancelation.canceledAt","group.totalCount","group.pastCount","group.futureCount","group.canceledCount","group.nextPeriod.from","group.nextPeriod.to","group.nextPeriod.status","group.nextPeriod.warning","group.nextEvent"]},{"type":"string","pattern":"^offer\\.ratesStatistics\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":500},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"canceled":{"type":"boolean"},"upcomingAvailability":{"type":"boolean"},"passedAvailability":{"type":"boolean"},"seatsAvailable":{"type":"boolean"},"seriesIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":10,"maxLength":10}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"categories":{"type":"array","items":{"type":"string"}},"offerModes":{"type":"array","items":{"type":"string","enum":["disabled","private","protected","public"]}},"searchTerm":{"type":"string"},"hasWaitlist":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"group":{"default":false,"type":"boolean"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"events":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"statistics":{"type":"object","properties":{"attendees":{"type":"integer","minimum":0,"maximum":9007199254740991},"teamMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"waitlisted":{"type":"integer","minimum":0,"maximum":9007199254740991},"offered":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkedIn":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attendees","waitlisted","offered","pending","confirmed","canceled","checkedIn"],"additionalProperties":false},"series":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":10},"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"default":"active","type":"string","enum":["active","deleted","canceled"]},"skip":{"type":"object","properties":{"deleted":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"blocked":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["deleted","blocked"],"additionalProperties":false},"overrides":{"type":"object","properties":{"place":{"type":"boolean","const":true}},"additionalProperties":false}},"required":["id","index","total","status"],"additionalProperties":false},"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"place":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["resource","address","online"]},"resource":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string","minLength":1},"siteAddress":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["site","siteName","siteAddress","resource","resourceName","quantity"],"additionalProperties":false},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"online":{"type":"object","properties":{"url":{"type":"string","maxLength":300,"format":"uri"},"instructions":{"type":"string","maxLength":400}},"required":["url","instructions"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"string array"},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"],"additionalProperties":false}}},"required":["title","description","color","image","place","tags","categories"],"additionalProperties":false},"settings":{"type":"object","properties":{"maxAttendees":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"minAttendees":{"anyOf":[{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"deadlineRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"deadline":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["count","deadlineRelative","deadline"],"additionalProperties":false},{"type":"null"}]},"permanent":{"type":"boolean"},"waitlist":{"anyOf":[{"type":"object","properties":{},"additionalProperties":false},{"type":"null"}]}},"required":["maxAttendees","minAttendees","permanent","waitlist"],"additionalProperties":false},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["disabled","private","protected","public"]},"offerName":{"type":"string"},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"from":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"to":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","from","toType","toDate","toRelative","to"],"additionalProperties":false},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates","perTicket"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"variants":{"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"],"additionalProperties":false}},{"type":"null"}]},"anonymous":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","availableAmount"],"additionalProperties":false}},"ratesStatistics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"attendees":{"type":"integer","minimum":0,"maximum":9007199254740991},"teamMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"waitlisted":{"type":"integer","minimum":0,"maximum":9007199254740991},"offered":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkedIn":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attendees","waitlisted","offered","pending","confirmed","canceled","checkedIn"],"additionalProperties":false}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions","availableAmount"],"additionalProperties":false}},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"],"additionalProperties":false},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"],"additionalProperties":false}},"required":["mode","offerName","attendeeMode","availability","rates","ratesStatistics","services","bookingRestriction","permanent","displaySettings"],"additionalProperties":false},"schedule":{"type":"object","properties":{"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string","minLength":1},"meetBeforeMinutes":{"type":"integer","minimum":0,"maximum":240}},"required":["rrule","timezone","meetBeforeMinutes"],"additionalProperties":false},"instructors":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false}],"type":"object"}},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"status":{"type":"string","enum":["available","blockedResource","blockedCalendar"]},"warning":{"type":"string","enum":["noAvailableExtendedPeriod"]}},"required":["from","to","status"],"additionalProperties":false},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["canceledAt"],"additionalProperties":false},{"type":"null"}]},"group":{"type":"object","properties":{"totalCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"pastCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"futureCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceledCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"nextPeriod":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"status":{"type":"string","enum":["available","blockedResource","blockedCalendar"]},"warning":{"type":"string","enum":["noAvailableExtendedPeriod"]}},"required":["from","to","status"],"additionalProperties":false},"nextEvent":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["totalCount","canceledCount"],"additionalProperties":false}},"required":["_id","mandate","statistics","series","info","settings","offer","schedule","instructors","period","cancelation"],"additionalProperties":false}}},"required":["count","events"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/export":{"post":{"operationId":"booking-events-exportEvents","summary":"Export events","description":"Exports events for the organization and mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"canceled":{"type":"boolean"},"upcomingAvailability":{"type":"boolean"},"passedAvailability":{"type":"boolean"},"seatsAvailable":{"type":"boolean"},"seriesIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":10,"maxLength":10}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"categories":{"type":"array","items":{"type":"string"}},"offerModes":{"type":"array","items":{"type":"string","enum":["disabled","private","protected","public"]}},"searchTerm":{"type":"string"},"hasWaitlist":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandate","info.title","info.description","info.details","info.image.resource","info.image.fileName","info.image.contentType","info.image.fileSizeBytes","info.color","info.place.type","info.place.resource.site","info.place.resource.siteName","info.place.resource.siteAddress.country","info.place.resource.siteAddress.state","info.place.resource.siteAddress.zip","info.place.resource.siteAddress.city","info.place.resource.siteAddress.addressLine","info.place.resource.siteAddress.details1","info.place.resource.siteAddress.details2","info.place.resource.resource","info.place.resource.resourceName","info.place.resource.quantity","info.place.address.country","info.place.address.state","info.place.address.zip","info.place.address.city","info.place.address.addressLine","info.place.address.details1","info.place.address.details2","info.place.location.latitude","info.place.location.longitude","info.place.online.url","info.place.online.instructions","info.tags","info.categories","settings.acceptCancelMode","settings.selfCheckInBeforeMinutes","settings.maxAttendees","settings.minAttendees.count","settings.minAttendees.deadlineRelative.value","settings.minAttendees.deadlineRelative.unit","settings.minAttendees.deadline","settings.waitlist.mode","settings.waitlist.offerAvailableHours","settings.permanent","settings.notifyFirstHours","settings.notifySecondHours","settings.notifyThirdHours","settings.confirmationMailText","settings.confirmationMailAttachments","settings.waitlistMailText","settings.checkIn.qrCode","offer.sessionMinutes","offer.sessionRetries","offer.paymentMethods.sepaCreditTransfer.internal","offer.paymentMethods.sepaCreditTransfer.cashAccount","offer.paymentMethods.sepaCreditTransfer.note","offer.paymentMethods.sepaDirectDebit.internal","offer.paymentMethods.sepaDirectDebit.cashAccount","offer.paymentMethods.sepaDirectDebit.note","offer.paymentMethods.online.internal","offer.paymentMethods.online.note","offer.paymentMethods.online.stripe","offer.paymentMethods.online.paypal","offer.paymentMethods.cash.internal","offer.paymentMethods.cash.note","offer.paymentMethodsPending","offer.paymentDueDate.payUntil.value","offer.paymentDueDate.payUntil.unit","offer.disallowCancelation","offer.refundPolicies","offer.refundText","offer.form.groups","offer.form.pages","offer.form.submitCaption","offer.form.appearance.accentColor","offer.form.appearance.accentTextColor","offer.form.appearance.box.border.width","offer.form.appearance.box.border.color","offer.form.appearance.box.border.radius","offer.form.appearance.box.background.color","offer.form.appearance.box.font.color","offer.form.appearance.box.font.size","offer.form.appearance.box.font.weight","offer.form.appearance.box.shadows","offer.form.appearance.box.padding.left","offer.form.appearance.box.padding.right","offer.form.appearance.box.padding.top","offer.form.appearance.box.padding.bottom","offer.form.appearance.box.margin.left","offer.form.appearance.box.margin.right","offer.form.appearance.box.margin.top","offer.form.appearance.box.margin.bottom","offer.form.appearance.groupBox.border.width","offer.form.appearance.groupBox.border.color","offer.form.appearance.groupBox.border.radius","offer.form.appearance.groupBox.background.color","offer.form.appearance.groupBox.font.color","offer.form.appearance.groupBox.font.size","offer.form.appearance.groupBox.font.weight","offer.form.appearance.groupBox.shadows","offer.form.appearance.groupBox.padding.left","offer.form.appearance.groupBox.padding.right","offer.form.appearance.groupBox.padding.top","offer.form.appearance.groupBox.padding.bottom","offer.form.appearance.groupBox.margin.left","offer.form.appearance.groupBox.margin.right","offer.form.appearance.groupBox.margin.top","offer.form.appearance.groupBox.margin.bottom","offer.form.appearance.inputBox.border.width","offer.form.appearance.inputBox.border.color","offer.form.appearance.inputBox.border.radius","offer.form.appearance.inputBox.background.color","offer.form.appearance.inputBox.font.color","offer.form.appearance.inputBox.font.size","offer.form.appearance.inputBox.font.weight","offer.form.appearance.inputBox.shadows","offer.form.appearance.inputBox.padding.left","offer.form.appearance.inputBox.padding.right","offer.form.appearance.inputBox.padding.top","offer.form.appearance.inputBox.padding.bottom","offer.form.appearance.inputBox.margin.left","offer.form.appearance.inputBox.margin.right","offer.form.appearance.inputBox.margin.top","offer.form.appearance.inputBox.margin.bottom","offer.form.appearance.inputBox.labelFont.color","offer.form.appearance.inputBox.labelFont.size","offer.form.appearance.inputBox.labelFont.weight","offer.form.appearance.inputBox.height","offer.form.validations","offer.formSettings.addressMode","offer.formSettings.applicantType","offer.formSettings.organisationNamePlaceholder","offer.formSettings.requirePhone","offer.formSettings.showDiscountCode","offer.formSettings.showRefundPolicies","offer.formSettings.membershipNumberLabel","offer.attachReceipt","offer.rates","offer.services","offer.availability.fromType","offer.availability.fromDate","offer.availability.fromRelative.value","offer.availability.fromRelative.unit","offer.availability.from","offer.availability.toType","offer.availability.toDate","offer.availability.toRelative.value","offer.availability.toRelative.unit","offer.availability.to","offer.attendeeMode","offer.team.requiresSize","offer.team.minimumSize","offer.team.maximumSize","offer.team.chargeBySize","offer.team.label","offer.rate.canBookMultipleRates","offer.rate.canBookByQuantity","offer.bookingRestriction","offer.displaySettings.seatsAvailableThreshold","offer.serviceSettings.required","offer.serviceSettings.selection","offer.permanent.beforeStart","offer.permanent.proRata","offer.offer","offer.offerName","offer.mode","offer.seriesStatistics.canceled","offer.seriesStatistics.deleted","offer.useCustomRates","schedule.timezone","schedule.meetBeforeMinutes","schedule.rrule","schedule.blocking.holidays.public","schedule.blocking.holidays.school","schedule.blocking.holidays.countryCode","schedule.blocking.holidays.stateCode","schedule.blocking.ics.url","schedule.blocking.ics.error","schedule.blockingMode","series.id","series.index","series.total","series.status","series.skip.deleted","series.skip.blocked","series.overrides.place","instructors","period.from","period.to","period.status","period.warning","statistics.attendees","statistics.teamMembers","statistics.waitlisted","statistics.offered","statistics.pending","statistics.confirmed","statistics.canceled","statistics.checkedIn","cancelation.canceledAt","cancelation.canceledBy.name","cancelation.canceledBy.type","cancelation.canceledBy.userId","cancelation.canceledBy.image.resource","cancelation.canceledBy.image.fileName","cancelation.canceledBy.image.contentType","cancelation.canceledBy.image.fileSizeBytes","cancelation.canceledBy.key","cancelation.reason","notificationLevel","minimumAttendeesEvaluation.status","minimumAttendeesEvaluation.evaluatedAt","minimumAttendeesEvaluation.attendeeCount"]},{"type":"string","pattern":"^offer\\.ratesStatistics\\.[\\s\\S]{0,}$"},{"type":"string","pattern":"^offer\\.servicesBooked\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/statistics":{"post":{"operationId":"booking-events-getEventsStatistics","summary":"Get events statistics","description":"Returns aggregated statistics for events for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"canceled":{"type":"boolean"},"upcomingAvailability":{"type":"boolean"},"passedAvailability":{"type":"boolean"},"seatsAvailable":{"type":"boolean"},"seriesIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":10,"maxLength":10}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"categories":{"type":"array","items":{"type":"string"}},"offerModes":{"type":"array","items":{"type":"string","enum":["disabled","private","protected","public"]}},"searchTerm":{"type":"string"},"hasWaitlist":{"type":"boolean"},"groupBy":{"type":"string","enum":["year","month","dayOfWeek","dayOfMonth","dayOfYear"]}},"required":["groupBy"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"attendees":{"type":"integer","minimum":0,"maximum":9007199254740991},"teamMembers":{"type":"integer","minimum":0,"maximum":9007199254740991},"waitlisted":{"type":"integer","minimum":0,"maximum":9007199254740991},"offered":{"type":"integer","minimum":0,"maximum":9007199254740991},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"canceled":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkedIn":{"type":"integer","minimum":0,"maximum":9007199254740991},"group":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["attendees","waitlisted","offered","pending","confirmed","canceled","checkedIn","group"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/offer":{"post":{"operationId":"booking-events-updateEventOffer","summary":"Update event offer","description":"Updates the offer settings of a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["disabled","private","protected","public"]},"offerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"useCustomRates":{"default":false,"type":"boolean"},"applyToFutureEvents":{"default":false,"type":"boolean"}},"required":["mode","offerId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"deleted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["inserted","updated","deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/form":{"post":{"operationId":"booking-events-updateEventForm","summary":"Update event form","description":"Updates the form of a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},"applyToFutureEvents":{"default":false,"type":"boolean"}},"required":["form"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"deleted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"blocked":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["inserted","updated","deleted","blocked"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/services":{"post":{"operationId":"booking-events-updateEventServices","summary":"Update event services","description":"Updates all services for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit\n* #### supplementaryService.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"serviceId":{"type":"string"}},"required":["availableAmount","serviceId"]}},"applyToFutureEvents":{"default":false,"type":"boolean"}},"required":["services"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["updated"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/cancel":{"post":{"operationId":"booking-events-cancelEvent","summary":"Cancel event","description":"Cancels a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"details":{"type":"string","maxLength":25000},"color":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^#[0-9A-F]{6}$"}]},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"]}},"place":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["resource","address","online"]},"resource":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string","minLength":1},"siteAddress":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["site","siteName","siteAddress","resource","resourceName"]},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},{"type":"null"}]},"online":{"type":"object","properties":{"url":{"type":"string","maxLength":300,"format":"uri"},"instructions":{"type":"string","maxLength":400}},"required":["url","instructions"]}},"required":["type"]},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]}},"required":["title","description","details","color","tags","categories","place"]},"settings":{"type":"object","properties":{"acceptCancelMode":{"type":"string","enum":["optIn","optOut"]},"selfCheckInBeforeMinutes":{"type":"number","minimum":0},"checkIn":{"type":"object","properties":{"qrCode":{"type":"boolean"}},"required":["qrCode"]},"maxAttendees":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"minAttendees":{"anyOf":[{"type":"object","properties":{"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"deadlineRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"deadline":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["count","deadlineRelative"]},{"type":"null"}]},"waitlist":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["ordered","random","manual"]},"offerAvailableHours":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]}},"required":["mode","offerAvailableHours"]},{"type":"null"}]},"permanent":{"type":"boolean"},"notifyFirstHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifySecondHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"notifyThirdHours":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":168},{"type":"null"}]},"confirmationMailText":{"type":"string","maxLength":5000},"waitlistMailText":{"type":"string","maxLength":5000},"confirmationMailAttachments":{"anyOf":[{"maxItems":1,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},{"type":"null"}]}},"required":["acceptCancelMode","selfCheckInBeforeMinutes","checkIn","maxAttendees","minAttendees","waitlist","permanent","notifyFirstHours","notifySecondHours","notifyThirdHours","confirmationMailText","waitlistMailText"]},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"from":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","toType","toDate","toRelative"]},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"]},"rate":{"default":null,"anyOf":[{"type":"object","properties":{"canBookMultipleRates":{"type":"boolean"},"canBookByQuantity":{"type":"boolean"}},"required":["canBookMultipleRates","canBookByQuantity"]},{"type":"null"}]},"attachReceipt":{"type":"boolean"},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"]},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"]},{"type":"null"}]}},"required":["sessionMinutes","sessionRetries","availability","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","attendeeMode","formSettings","displaySettings","team","attachReceipt","bookingRestriction","permanent"]},"schedule":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"meetBeforeMinutes":{"type":"integer","minimum":0,"maximum":240},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocking":{"anyOf":[{"type":"object","properties":{"holidays":{"anyOf":[{"type":"object","properties":{"public":{"type":"boolean"},"school":{"type":"boolean"},"countryCode":{"type":"string","enum":["DE","LU","AT","CH"]},"stateCode":{"default":"","type":"string"}},"required":["public","school","countryCode"]},{"type":"null"}]},"ics":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":1000,"format":"uri"}},"required":["url"]},{"type":"null"}]}},"required":["holidays","ics"]},{"type":"null"}]},"blockingMode":{"default":"none","type":"string","enum":["none","extend"]}},"required":["meetBeforeMinutes","blocking"]},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"instructors":{"type":"array","items":{"type":"string"}},"reason":{"default":"","type":"string","maxLength":240},"cancelFutureEvents":{"default":false,"type":"boolean"},"notifyAttendees":{"default":true,"type":"boolean"},"fullRefund":{"default":true,"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["updated"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/duplicate":{"post":{"operationId":"booking-events-duplicateEvent","summary":"Duplicate event","description":"Creates a new event based on a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.insert","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60}},"required":["title"]},"schedule":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"rrule":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"blocking":{"default":null,"anyOf":[{"type":"object","properties":{"holidays":{"anyOf":[{"type":"object","properties":{"public":{"type":"boolean"},"school":{"type":"boolean"},"countryCode":{"type":"string","enum":["DE","LU","AT","CH"]},"stateCode":{"type":"string"}},"required":["public","school","countryCode","stateCode"]},{"type":"null"}]},"ics":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":1000,"format":"uri"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url","error"]},{"type":"null"}]}},"required":["holidays","ics"]},{"type":"null"}]},"blockingMode":{"default":"none","type":"string","enum":["none","extend"]}},"required":["timezone"]},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]}},"required":["info","schedule","period"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inserted":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["inserted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/rates":{"post":{"operationId":"booking-events-createEventRate","summary":"Create event rate","description":"Creates a new rate for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableAmount":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"variants":{"default":null,"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"]}},{"type":"null"}]},"quantity":{"default":null,"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"]},{"type":"null"}]},"anonymous":{"default":null,"anyOf":[{"type":"boolean"},{"type":"null"}]},"applyToFutureEvents":{"default":false,"type":"boolean"}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"type":"string","minLength":8,"maxLength":8}},"required":["updated","rateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/rates/{rateId}":{"post":{"operationId":"booking-events-updateEventRate","summary":"Update event rate","description":"Updates a specific rate for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableAmount":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"applyToFutureEvents":{"default":false,"type":"boolean"},"variants":{"default":null,"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"]}},{"type":"null"}]},"quantity":{"default":null,"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"]},{"type":"null"}]},"anonymous":{"default":null,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["updated"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-events-deleteEventRate","summary":"Delete event rate","description":"Deletes a specific rate for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.edit","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true},{"in":"query","name":"applyToFutureEvents","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["updated"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/tags/list":{"post":{"operationId":"booking-events-listTags","summary":"List event tags","description":"Returns a list of all event tags for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"},"onlyUsedTags":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/tags/remove":{"post":{"operationId":"booking-events-removeTag","summary":"Remove tag","description":"Removes an event tag case-insensitively from events and dependent booking views and discount codes and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.remove","tags":["booking / events"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers":{"post":{"operationId":"booking-events-offers-createOffer","summary":"Create offer","description":"Creates a new offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.insert","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"default":"","type":"string","maxLength":140},"offer":{"type":"object","properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"attachReceipt":{"type":"boolean"},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"standard":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"variants":{"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"]}},{"type":"null"}]},"anonymous":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"]},{"type":"null"}]}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","availableAmount"]}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]}},"required":["id","name","description","price"]}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions","availableAmount"]}},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"from":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","toType","toDate","toRelative"]},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"]},"rate":{"default":null,"anyOf":[{"type":"object","properties":{"canBookMultipleRates":{"type":"boolean"},"canBookByQuantity":{"type":"boolean"}},"required":["canBookMultipleRates","canBookByQuantity"]},{"type":"null"}]},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"]},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"]},{"type":"null"}]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"]}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","form","formSettings","attachReceipt","rates","services","availability","attendeeMode","team","bookingRestriction","displaySettings","serviceSettings","permanent"]}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}":{"get":{"operationId":"booking-events-offers-getOffer","summary":"Get offer","description":"Returns information for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.read","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions","availableAmount"],"additionalProperties":false}},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"],"additionalProperties":false},{"type":"null"}]},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates","perTicket"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"variants":{"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"],"additionalProperties":false}},{"type":"null"}]},"anonymous":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","availableAmount"],"additionalProperties":false}},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"from":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"to":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","from","toType","toDate","toRelative","to"],"additionalProperties":false},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"],"additionalProperties":false},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"],"additionalProperties":false}},"required":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","services","serviceSettings","refundPolicies","refundText","form","formSettings","name","description","rates","availability","attendeeMode","team","permanent"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-events-offers-updateOffer","summary":"Update offer","description":"Updates a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"from":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","toType","toDate","toRelative"]},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"displaySettings":{"type":"object","properties":{"seatsAvailableThreshold":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["seatsAvailableThreshold"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"]},"attachReceipt":{"type":"boolean"},"bookingRestriction":{"type":"string","enum":["soldOut","bookIntoWaitlist","requireConfirmation"]},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"]},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"]},{"type":"null"}]}},"required":["sessionMinutes","sessionRetries","availability","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","attendeeMode","formSettings","displaySettings","team","attachReceipt","bookingRestriction","permanent"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-events-offers-deleteOffer","summary":"Delete offer","description":"Deletes a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.remove\n* #### event.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/list":{"post":{"operationId":"booking-events-offers-listOffers","summary":"List offers","description":"Returns a list of offers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.read","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods.sepaCreditTransfer.internal","paymentMethods.sepaCreditTransfer.cashAccount","paymentMethods.sepaCreditTransfer.note","paymentMethods.sepaDirectDebit.internal","paymentMethods.sepaDirectDebit.cashAccount","paymentMethods.sepaDirectDebit.note","paymentMethods.online.internal","paymentMethods.online.note","paymentMethods.online.stripe","paymentMethods.online.paypal","paymentMethods.cash.internal","paymentMethods.cash.note","paymentMethodsPending","services","serviceSettings.required","serviceSettings.selection","refundPolicies","refundText","form.groups","form.pages","form.submitCaption","form.appearance.accentColor","form.appearance.accentTextColor","form.appearance.box.border.width","form.appearance.box.border.color","form.appearance.box.border.radius","form.appearance.box.background.color","form.appearance.box.font.color","form.appearance.box.font.size","form.appearance.box.font.weight","form.appearance.box.shadows","form.appearance.box.padding.left","form.appearance.box.padding.right","form.appearance.box.padding.top","form.appearance.box.padding.bottom","form.appearance.box.margin.left","form.appearance.box.margin.right","form.appearance.box.margin.top","form.appearance.box.margin.bottom","form.appearance.groupBox.border.width","form.appearance.groupBox.border.color","form.appearance.groupBox.border.radius","form.appearance.groupBox.background.color","form.appearance.groupBox.font.color","form.appearance.groupBox.font.size","form.appearance.groupBox.font.weight","form.appearance.groupBox.shadows","form.appearance.groupBox.padding.left","form.appearance.groupBox.padding.right","form.appearance.groupBox.padding.top","form.appearance.groupBox.padding.bottom","form.appearance.groupBox.margin.left","form.appearance.groupBox.margin.right","form.appearance.groupBox.margin.top","form.appearance.groupBox.margin.bottom","form.appearance.inputBox.border.width","form.appearance.inputBox.border.color","form.appearance.inputBox.border.radius","form.appearance.inputBox.background.color","form.appearance.inputBox.font.color","form.appearance.inputBox.font.size","form.appearance.inputBox.font.weight","form.appearance.inputBox.shadows","form.appearance.inputBox.padding.left","form.appearance.inputBox.padding.right","form.appearance.inputBox.padding.top","form.appearance.inputBox.padding.bottom","form.appearance.inputBox.margin.left","form.appearance.inputBox.margin.right","form.appearance.inputBox.margin.top","form.appearance.inputBox.margin.bottom","form.appearance.inputBox.labelFont.color","form.appearance.inputBox.labelFont.size","form.appearance.inputBox.labelFont.weight","form.appearance.inputBox.height","form.validations","formSettings.addressMode","formSettings.applicantType","formSettings.organisationNamePlaceholder","formSettings.requirePhone","formSettings.showDiscountCode","formSettings.showRefundPolicies","formSettings.membershipNumberLabel","name","description","rates","availability.fromType","availability.fromDate","availability.fromRelative.value","availability.fromRelative.unit","availability.from","availability.toType","availability.toDate","availability.toRelative.value","availability.toRelative.unit","availability.to","attendeeMode","team.requiresSize","team.minimumSize","team.maximumSize","team.chargeBySize","team.label","permanent.beforeStart","permanent.proRata"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"offers":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions","availableAmount"],"additionalProperties":false}},"serviceSettings":{"anyOf":[{"type":"object","properties":{"required":{"type":"boolean"},"selection":{"type":"string","enum":["single","multiple"]}},"required":["required","selection"],"additionalProperties":false},{"type":"null"}]},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates","perTicket"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"variants":{"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"],"additionalProperties":false}},{"type":"null"}]},"anonymous":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","availableAmount"],"additionalProperties":false}},"availability":{"type":"object","properties":{"fromType":{"type":"string","enum":["anytime","date","relativeStart"]},"fromDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"fromRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"from":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toType":{"type":"string","enum":["start","end","date","relativeStart","relativeEnd"]},"toDate":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"toRelative":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"to":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["fromType","fromDate","fromRelative","from","toType","toDate","toRelative","to"],"additionalProperties":false},"attendeeMode":{"type":"string","enum":["multiple","single","team","rate"]},"team":{"type":"object","properties":{"requiresSize":{"type":"boolean"},"minimumSize":{"type":"integer","exclusiveMinimum":0,"maximum":999999},"maximumSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":999999},{"type":"null"}]},"chargeBySize":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["requiresSize","minimumSize","maximumSize","chargeBySize","label"],"additionalProperties":false},"permanent":{"type":"object","properties":{"beforeStart":{"type":"boolean"},"proRata":{"type":"boolean"}},"required":["beforeStart","proRata"],"additionalProperties":false}},"required":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","services","serviceSettings","refundPolicies","refundText","form","formSettings","name","description","rates","availability","attendeeMode","team","permanent"],"additionalProperties":false}}},"required":["count","offers"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}/info":{"post":{"operationId":"booking-events-offers-updateOfferInfo","summary":"Update offer info","description":"Updates the information of a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140}},"required":["name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}/form":{"post":{"operationId":"booking-events-offers-updateOfferForm","summary":"Update offer form","description":"Updates the form of a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]}},"required":["form"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}/services":{"post":{"operationId":"booking-events-offers-updateOfferServices","summary":"Update offer services","description":"Updates all services for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit\n* #### supplementaryService.read","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"availableAmount":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"},"serviceId":{"type":"string"}},"required":["availableAmount","serviceId"]}}},"required":["services"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}/rates":{"post":{"operationId":"booking-events-offers-createOfferRate","summary":"Create offer rate","description":"Creates a new rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableAmount":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"variants":{"default":null,"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"]}},{"type":"null"}]},"quantity":{"default":null,"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"]},{"type":"null"}]},"anonymous":{"default":null,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"rateId":{"type":"string","minLength":8,"maxLength":8}},"required":["rateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/offers/{offerId}/rates/{rateId}":{"post":{"operationId":"booking-events-offers-updateOfferRate","summary":"Update offer rate","description":"Updates a specific rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableAmount":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"},"perTicket":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"variants":{"default":null,"anyOf":[{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":40},"points":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"price":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["id","name","points","price"]}},{"type":"null"}]},"quantity":{"default":null,"anyOf":[{"type":"object","properties":{"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["minimum","maximum"]},{"type":"null"}]},"anonymous":{"default":null,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-events-offers-deleteOfferRate","summary":"Delete offer rate","description":"Deletes a specific rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### eventOffer.edit","tags":["booking / events / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings":{"post":{"operationId":"booking-events-bookings-createBooking","summary":"Create booking","description":"Creates a new booking for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.insert\n* #### booking.insert","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"buyer":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"personName":{"type":"string","minLength":1,"maxLength":81},"receiptMode":{"type":"string","enum":["gross","net"]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}}},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]},{"type":"null"}]}},"required":["paymentMethod","sepaDirectDebit","online"]},{"type":"null"}]},"contactId":{"type":"string"}},"required":["type","name","email"]},"attendees":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"rateId":{"type":"string","minLength":8,"maxLength":8},"services":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"}},"required":["optionId"]}}},"required":["serviceId","options"]}},"issuedPunchCardNumber":{"anyOf":[{"type":"string","const":"issue_new_punch_card"},{"type":"string","const":"use_existing_punch_card"},{"type":"string","minLength":14,"maxLength":14}]},"type":{"type":"string","enum":["person","team"]},"name":{"type":"string","minLength":1,"maxLength":80},"contactId":{"type":"string"},"birthdate":{"type":"string"},"membershipNumber":{"type":"string","maxLength":24},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"]},"date":{"type":"object","properties":{"format":{"type":"string"}}},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["resultType"]},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"]}},"required":["id","type"]}]}}},"required":["id","label","fields"]}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["schema","data"]},{"type":"null"}]},"teamSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"rateVariantId":{"type":"string"},"anonymous":{"type":"boolean"}},"required":["type","name"]}},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"]},"date":{"type":"object","properties":{"format":{"type":"string"}}},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["resultType"]},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"]}},"required":["id","type"]}]}}},"required":["id","label","fields"]}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["schema","data"]},{"type":"null"}]},"discountCode":{"type":"string","minLength":1,"maxLength":32},"forceAcceptance":{"default":false,"type":"boolean"},"notifyBuyer":{"default":true,"type":"boolean"}},"required":["buyer","attendees"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/booking/events/bookings/form":{"post":{"operationId":"booking-events-bookings-createBookingFromForm","summary":"Create booking from form","description":"Creates a new booking for a specific session tied to an event from a form for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.insert\n* #### booking.insert","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sessionId":{"type":"string"},"formData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"notifyBuyer":{"default":true,"type":"boolean"},"skipWaitlist":{"default":false,"type":"boolean"},"handleOverbooking":{"default":false,"type":"boolean"},"paymentDueDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["sessionId","formData"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/contactBookings/form":{"post":{"operationId":"booking-events-bookings-createContactBookingFromForm","summary":"Create contact booking","description":"Creates one contact-linked booking from an admin booking form, validating current availability and contact data. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### booking.insert\n* #### event.read\n* #### attendee.insert","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"bookingId":{"type":"string"},"formData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"notifyBuyer":{"default":true,"type":"boolean"},"paymentDueDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"eventId":{"type":"string"},"skipWaitlist":{"default":false,"type":"boolean"},"handleOverbooking":{"default":false,"type":"boolean"}},"required":["contactId","bookingId","formData","eventId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings/list":{"post":{"operationId":"booking-events-bookings-listBookings","summary":"List bookings","description":"Returns a list of bookings for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### booking.read","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","bookingNumber","buyer.type","buyer.name","buyer.nameNormalized","buyer.nameSort","buyer.email","buyer.phone","buyer.address.country","buyer.address.state","buyer.address.zip","buyer.address.city","buyer.address.addressLine","buyer.address.details1","buyer.address.details2","buyer.userId","buyer.account","buyer.contact","buyer.payment.paymentMethod","buyer.payment.sepaDirectDebit.iban","buyer.payment.sepaDirectDebit.bic","buyer.payment.online.paymentIntent","buyer.payment.online.provider","buyer.payment.online.paymentMode","buyer.payment.online.onlineDebitCollection","buyer.personName","buyer.receiptMode","receipts","formResult.schema","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records","createdAt"]},{"type":"string","pattern":"^formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"type":{"type":"string","enum":["event","resource"]},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"bookings":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["event","resource"]},"bookingNumber":{"type":"string","minLength":7,"maxLength":7},"buyer":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"userId":{"type":"string","maxLength":24},"account":{"type":"integer","minimum":1,"maximum":999999999},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false},{"type":"null"}]}},"required":["paymentMethod","sepaDirectDebit","online"],"additionalProperties":false},{"type":"null"}]},"personName":{"type":"string","minLength":1,"maxLength":81},"receiptMode":{"type":"string","enum":["gross","net"]}},"required":["type","name","nameNormalized","nameSort","email","phone","address","userId","contact","payment"],"additionalProperties":false},"receipts":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentTerms":{"type":"string","maxLength":2000},"paymentDueDate":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"paymentTotalAmountLeftToPay":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"canceledAt":{"default":null,"anyOf":[{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},{"type":"null"}]},"externalRefund":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","enum":["stripe","paypal"]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["provider","amount"],"additionalProperties":false},{"type":"null"}]}},"required":["receipt","receiptNumber","paymentStatus","paymentTerms","paymentDueDate","paymentTotalAmountLeftToPay","canceledAt"],"additionalProperties":false}},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]},"totalPrice":{"type":"integer","minimum":0,"maximum":9999999999},"totalPoints":{"type":"integer","minimum":0,"maximum":9007199254740991},"usedPunchCardNumbers":{"type":"array","items":{"type":"string"}},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["confirmed","partialCancelation","canceled"]},"paymentStatus":{"anyOf":[{"type":"string","enum":["unpaid","partial","paid"]},{"type":"null"}]},"cancelations":{"type":"array","items":{"type":"object","properties":{"recordNumber":{"type":"string","minLength":10,"maxLength":10},"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240},"priceRefund":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"pointsRefund":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"partial":{"type":"boolean"},"refundPayout":{"oneOf":[{"type":"object","properties":{"channel":{"type":"string","const":"bankTransfer"},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"accountName":{"type":"string","minLength":1,"maxLength":140}},"required":["channel","iban","accountName"],"additionalProperties":false},{"type":"object","properties":{"channel":{"type":"string","const":"cash"}},"required":["channel"],"additionalProperties":false}],"type":"object"},"refundReceiptBreakdown":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["receipt","amount"],"additionalProperties":false}}},"required":["recordNumber","canceledAt","reason","priceRefund","pointsRefund"],"additionalProperties":false}},"records":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","type","bookingNumber","buyer","receipts","formResult","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records"],"additionalProperties":false}}},"required":["count","bookings"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings/{bookingId}/cancel":{"post":{"operationId":"booking-events-bookings-cancelBooking","summary":"Cancel booking","description":"Cancels a specific booking for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### booking.insert","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"bookingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","maxLength":240},"notifyBuyer":{"default":true,"type":"boolean"},"fullRefund":{"default":false,"type":"boolean"},"refundPayout":{"oneOf":[{"type":"object","properties":{"channel":{"type":"string","const":"bankTransfer"},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"accountName":{"type":"string","minLength":1,"maxLength":140}},"required":["channel","iban","accountName"]},{"type":"object","properties":{"channel":{"type":"string","const":"cash"}},"required":["channel"]}],"type":"object"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings/{bookingId}":{"delete":{"operationId":"booking-events-bookings-deleteBooking","summary":"Delete canceled booking","description":"Deletes operational data for a canceled event booking while preserving financial records <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### booking.remove","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"bookingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings/{bookingId}/move":{"post":{"operationId":"booking-events-bookings-moveBooking","summary":"Move booking","description":"Moves a specific booking to a different event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"bookingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"newEventId":{"type":"string"}},"required":["newEventId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/bookings/export":{"post":{"operationId":"booking-events-bookings-exportBookings","summary":"Export bookings","description":"Exports bookings for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### booking.read","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["event","resource"]},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","bookingNumber","buyer.type","buyer.name","buyer.nameNormalized","buyer.nameSort","buyer.email","buyer.phone","buyer.address.country","buyer.address.state","buyer.address.zip","buyer.address.city","buyer.address.addressLine","buyer.address.details1","buyer.address.details2","buyer.userId","buyer.account","buyer.contact","buyer.payment.paymentMethod","buyer.payment.sepaDirectDebit.iban","buyer.payment.sepaDirectDebit.bic","buyer.payment.online.paymentIntent","buyer.payment.online.provider","buyer.payment.online.paymentMode","buyer.payment.online.onlineDebitCollection","buyer.personName","buyer.receiptMode","receipts","formResult.schema","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records","createdAt"]},{"type":"string","pattern":"^formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}":{"get":{"operationId":"booking-events-attendees-getAttendee","summary":"Get attendee","description":"Returns a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"participant":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"type":{"type":"string","enum":["person","team"]},"membershipNumber":{"type":"string","maxLength":64},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["name","nameNormalized","nameSort","type","membershipNumber","contact"],"additionalProperties":false},"applicant":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"userId":{"type":"string","maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"personName":{"type":"string","minLength":1,"maxLength":81}},"required":["type","name","nameNormalized","nameSort","address","email","phone","userId","contact"],"additionalProperties":false},"booking":{"anyOf":[{"type":"object","properties":{"booking":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recordNumber":{"type":"string","minLength":10,"maxLength":10},"paymentMethodPending":{"type":"string","enum":["unpaid","partial","paid"]},"receipts":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"anyOf":[{"type":"string","minLength":8,"maxLength":8},{"type":"string","const":""}]},"rateName":{"type":"string"},"ratePrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"rateVariantId":{"type":"string","minLength":8,"maxLength":8},"rateVariantName":{"type":"string"},"ratePaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"rateServicesPaidPrice":{"type":"integer","minimum":0,"maximum":9999999999},"usedPoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"issuedPunchCardNumber":{"type":"string"},"punchCard":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"},"optionName":{"type":"string"},"optionPrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"optionPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["optionId","optionName","optionPrice","optionPaidPrice"],"additionalProperties":false}}},"required":["service","serviceName","options"],"additionalProperties":false}},"servicesPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"servicesEditable":{"type":"boolean"},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]}},"required":["booking","recordNumber","paymentMethodPending","receipts","rateId","rateName","ratePrice","ratePaidPrice","usedPoints","issuedPunchCardNumber","punchCard","services","servicesPaidPrice","discountCode","formResult"],"additionalProperties":false},{"type":"null"}]},"bookingNumber":{"type":"string","minLength":10,"maxLength":10},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"waitlist":{"anyOf":[{"type":"object","properties":{"listedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"listNumber":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"offerCreatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"offerStatus":{"anyOf":[{"type":"string","enum":["manual","pending","accepted","rejected"]},{"type":"null"}]},"offerValidTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["listedAt","listNumber","offerCreatedAt","offerStatus","offerValidTo"],"additionalProperties":false},{"type":"null"}]},"checkedInAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"checkedInBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240}},"required":["canceledAt","reason"],"additionalProperties":false},{"type":"null"}]},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"teamSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"anonymous":{"type":"boolean"},"permanent":{"type":"object","properties":{"event":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"],"additionalProperties":false},"index":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["event","period","index"],"additionalProperties":false}},"required":["_id","mandate","participant","applicant","booking","bookingNumber","status","waitlist","checkedInAt","checkedInBy","cancelation"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-events-attendees-deleteAttendee","summary":"Delete canceled attendee","description":"Deletes operational participant data for a canceled attendee while preserving financial records <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.remove","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/contact/{contactId}/attendancies/list":{"post":{"operationId":"booking-events-attendees-listContactAttendancies","summary":"List contact attendancies","description":"Returns a list of all events the contact has attended for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"contactId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","event","eventTitle","booking.booking","booking.recordNumber","booking.paymentMethodPending","booking.receipts","booking.rateId","booking.rateName","booking.ratePrice.taxCode","booking.ratePrice.account","booking.ratePrice.costCenter1","booking.ratePrice.costCenter2","booking.rateVariantId","booking.rateVariantName","booking.ratePaidPrice","booking.rateServicesPaidPrice","booking.usedPoints","booking.issuedPunchCardNumber","booking.punchCard","booking.services","booking.servicesPaidPrice","booking.servicesEditable","booking.discountCode","booking.formResult.schema","checkedInAt","checkedInBy.name","checkedInBy.type","checkedInBy.userId","checkedInBy.image.resource","checkedInBy.image.fileName","checkedInBy.image.contentType","checkedInBy.image.fileSizeBytes","checkedInBy.key","eventDate","status","bookingNumber","role","eventPeriod.from","eventPeriod.to","eventPeriod.status","eventPeriod.warning"]},{"type":"string","pattern":"^booking\\.formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"checkInAvailable":{"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"attendancies":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"event":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"eventTitle":{"type":"string"},"booking":{"anyOf":[{"type":"object","properties":{"booking":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recordNumber":{"type":"string","minLength":10,"maxLength":10},"paymentMethodPending":{"type":"string","enum":["unpaid","partial","paid"]},"receipts":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"anyOf":[{"type":"string","minLength":8,"maxLength":8},{"type":"string","const":""}]},"rateName":{"type":"string"},"ratePrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"rateVariantId":{"type":"string","minLength":8,"maxLength":8},"rateVariantName":{"type":"string"},"ratePaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"rateServicesPaidPrice":{"type":"integer","minimum":0,"maximum":9999999999},"usedPoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"issuedPunchCardNumber":{"type":"string"},"punchCard":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"},"optionName":{"type":"string"},"optionPrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"optionPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["optionId","optionName","optionPrice","optionPaidPrice"],"additionalProperties":false}}},"required":["service","serviceName","options"],"additionalProperties":false}},"servicesPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"servicesEditable":{"type":"boolean"},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]}},"required":["booking","recordNumber","paymentMethodPending","receipts","rateId","rateName","ratePrice","ratePaidPrice","usedPoints","issuedPunchCardNumber","punchCard","services","servicesPaidPrice","discountCode","formResult"],"additionalProperties":false},{"type":"null"}]},"checkedInAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"checkedInBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"eventDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"status":{"anyOf":[{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},{"type":"null"}]},"bookingNumber":{"anyOf":[{"type":"string","minLength":10,"maxLength":10},{"type":"null"}]},"role":{"type":"string","enum":["attendee","instructor"]},"eventPeriod":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"status":{"type":"string","enum":["available","blockedResource","blockedCalendar"]},"warning":{"type":"string","enum":["noAvailableExtendedPeriod"]}},"required":["from","to","status"],"additionalProperties":false}},"required":["_id","event","eventTitle","booking","checkedInAt","checkedInBy","eventDate","status","bookingNumber","role"],"additionalProperties":false}}},"required":["count","attendancies"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/list":{"post":{"operationId":"booking-events-attendees-listAttendees","summary":"List attendees","description":"Returns a list of attendees for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","participant.name","participant.nameNormalized","participant.nameSort","participant.type","participant.membershipNumber","participant.contact","applicant.type","applicant.name","applicant.nameNormalized","applicant.nameSort","applicant.address.country","applicant.address.state","applicant.address.zip","applicant.address.city","applicant.address.addressLine","applicant.address.details1","applicant.address.details2","applicant.email","applicant.phone","applicant.userId","applicant.contact","applicant.personName","booking.booking","booking.recordNumber","booking.paymentMethodPending","booking.receipts","booking.rateId","booking.rateName","booking.ratePrice.taxCode","booking.ratePrice.account","booking.ratePrice.costCenter1","booking.ratePrice.costCenter2","booking.rateVariantId","booking.rateVariantName","booking.ratePaidPrice","booking.rateServicesPaidPrice","booking.usedPoints","booking.issuedPunchCardNumber","booking.punchCard","booking.services","booking.servicesPaidPrice","booking.servicesEditable","booking.discountCode","booking.formResult.schema","bookingNumber","status","waitlist.listedAt","waitlist.listNumber","waitlist.offerCreatedAt","waitlist.offerStatus","waitlist.offerValidTo","checkedInAt","checkedInBy.name","checkedInBy.type","checkedInBy.userId","checkedInBy.image.resource","checkedInBy.image.fileName","checkedInBy.image.contentType","checkedInBy.image.fileSizeBytes","checkedInBy.key","cancelation.canceledAt","cancelation.reason","notes","createdAt","teamSize","anonymous","permanent.event","permanent.period.from","permanent.period.to","permanent.index"]},{"type":"string","pattern":"^booking\\.formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"bookingId":{"type":"string"},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"attendees":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"participant":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"type":{"type":"string","enum":["person","team"]},"membershipNumber":{"type":"string","maxLength":64},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["name","nameNormalized","nameSort","type","membershipNumber","contact"],"additionalProperties":false},"applicant":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},{"type":"null"}]},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"userId":{"type":"string","maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"personName":{"type":"string","minLength":1,"maxLength":81}},"required":["type","name","nameNormalized","nameSort","address","email","phone","userId","contact"],"additionalProperties":false},"booking":{"anyOf":[{"type":"object","properties":{"booking":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recordNumber":{"type":"string","minLength":10,"maxLength":10},"paymentMethodPending":{"type":"string","enum":["unpaid","partial","paid"]},"receipts":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"anyOf":[{"type":"string","minLength":8,"maxLength":8},{"type":"string","const":""}]},"rateName":{"type":"string"},"ratePrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"rateVariantId":{"type":"string","minLength":8,"maxLength":8},"rateVariantName":{"type":"string"},"ratePaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"rateServicesPaidPrice":{"type":"integer","minimum":0,"maximum":9999999999},"usedPoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"issuedPunchCardNumber":{"type":"string"},"punchCard":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"},"optionName":{"type":"string"},"optionPrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"optionPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["optionId","optionName","optionPrice","optionPaidPrice"],"additionalProperties":false}}},"required":["service","serviceName","options"],"additionalProperties":false}},"servicesPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"servicesEditable":{"type":"boolean"},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]}},"required":["booking","recordNumber","paymentMethodPending","receipts","rateId","rateName","ratePrice","ratePaidPrice","usedPoints","issuedPunchCardNumber","punchCard","services","servicesPaidPrice","discountCode","formResult"],"additionalProperties":false},{"type":"null"}]},"bookingNumber":{"type":"string","minLength":10,"maxLength":10},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"waitlist":{"anyOf":[{"type":"object","properties":{"listedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"listNumber":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"offerCreatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"offerStatus":{"anyOf":[{"type":"string","enum":["manual","pending","accepted","rejected"]},{"type":"null"}]},"offerValidTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["listedAt","listNumber","offerCreatedAt","offerStatus","offerValidTo"],"additionalProperties":false},{"type":"null"}]},"checkedInAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"checkedInBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},{"type":"null"}]},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240}},"required":["canceledAt","reason"],"additionalProperties":false},{"type":"null"}]},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"teamSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"anonymous":{"type":"boolean"},"permanent":{"type":"object","properties":{"event":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"],"additionalProperties":false},"index":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["event","period","index"],"additionalProperties":false}},"required":["_id","mandate","participant","applicant","booking","bookingNumber","status","waitlist","checkedInAt","checkedInBy","cancelation"],"additionalProperties":false}}},"required":["count","attendees"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/notes":{"get":{"operationId":"booking-events-attendees-listAttendeeNotes","summary":"List attendee notes","description":"Returns attendee notes ordered by creation date, newest first <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100},"required":true},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}}},"required":["count","notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-events-attendees-addAttendeeNote","summary":"Add attendee note","description":"Adds a note to an attendee for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}}},"required":["notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/notes/{noteId}":{"delete":{"operationId":"booking-events-attendees-deleteAttendeeNote","summary":"Delete attendee note","description":"Deletes a note from an attendee for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string","minLength":6,"maxLength":6},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}}},"required":["notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-events-attendees-updateAttendeeNote","summary":"Update attendee note","description":"Updates a note on an attendee for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"noteId","schema":{"type":"string","minLength":6,"maxLength":6},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["content"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":6,"maxLength":6},"content":{"type":"string","maxLength":4000},"writtenAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"writtenBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"},"updatedAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"updatedBy":{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"],"additionalProperties":false}],"type":"object"}},"required":["id","content","writtenAt","writtenBy"],"additionalProperties":false}}},"required":["notes"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees":{"post":{"operationId":"booking-events-attendees-addAttendee","summary":"Add attendee","description":"Adds a new attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.insert","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"personName":{"type":"string","minLength":1,"maxLength":81},"contactId":{"type":"string"},"forceAcceptance":{"default":false,"type":"boolean"},"notifyApplicant":{"default":true,"type":"boolean"}},"required":["type","name","email","phone"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/export":{"post":{"operationId":"booking-events-attendees-exportAttendees","summary":"Export attendees","description":"Exports attendees for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"bookingId":{"type":"string"},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","participant.name","participant.nameNormalized","participant.nameSort","participant.type","participant.membershipNumber","participant.contact","applicant.type","applicant.name","applicant.nameNormalized","applicant.nameSort","applicant.address.country","applicant.address.state","applicant.address.zip","applicant.address.city","applicant.address.addressLine","applicant.address.details1","applicant.address.details2","applicant.email","applicant.phone","applicant.userId","applicant.contact","applicant.personName","booking.booking","booking.recordNumber","booking.paymentMethodPending","booking.receipts","booking.rateId","booking.rateName","booking.ratePrice.taxCode","booking.ratePrice.account","booking.ratePrice.costCenter1","booking.ratePrice.costCenter2","booking.rateVariantId","booking.rateVariantName","booking.ratePaidPrice","booking.rateServicesPaidPrice","booking.usedPoints","booking.issuedPunchCardNumber","booking.punchCard","booking.services","booking.servicesPaidPrice","booking.servicesEditable","booking.discountCode","booking.formResult.schema","bookingNumber","status","waitlist.listedAt","waitlist.listNumber","waitlist.offerCreatedAt","waitlist.offerStatus","waitlist.offerValidTo","checkedInAt","checkedInBy.name","checkedInBy.type","checkedInBy.userId","checkedInBy.image.resource","checkedInBy.image.fileName","checkedInBy.image.contentType","checkedInBy.image.fileSizeBytes","checkedInBy.key","cancelation.canceledAt","cancelation.reason","notes","createdAt","teamSize","anonymous","permanent.event","permanent.period.from","permanent.period.to","permanent.index"]},{"type":"string","pattern":"^booking\\.formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/move":{"post":{"operationId":"booking-events-attendees-moveAttendee","summary":"Move attendee","description":"Moves a specific attendee to a different event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"newEventId":{"type":"string"}},"required":["newEventId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/cancel":{"post":{"operationId":"booking-events-attendees-cancelAttendee","summary":"Cancel attendee","description":"Cancels a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","maxLength":240},"notifyApplicant":{"default":true,"type":"boolean"},"refundPayout":{"oneOf":[{"type":"object","properties":{"channel":{"type":"string","const":"bankTransfer"},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"accountName":{"type":"string","minLength":1,"maxLength":140}},"required":["channel","iban","accountName"]},{"type":"object","properties":{"channel":{"type":"string","const":"cash"}},"required":["channel"]}],"type":"object"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/offerWaitlistSeat":{"post":{"operationId":"booking-events-attendees-offerAttendeeWaitlistSeat","summary":"Offer attendee waitlist seat","description":"Offers a seat to a waitlisted attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/acceptWaitlistSeat":{"post":{"operationId":"booking-events-attendees-acceptAttendeeWaitlistSeat","summary":"Accept attendee waitlist seat","description":"Accepts a waitlist seat for a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"payment":{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]},{"type":"null"}]}},"required":["paymentMethod","sepaDirectDebit","online"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"paymentIntent":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["stripe","paypal"]},"status":{"type":"string","enum":["succeeded","pending","authorized","requiresAction","failed","canceled"]},"token":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","provider","status","token"],"additionalProperties":false}},"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/rejectWaitlistSeat":{"post":{"operationId":"booking-events-attendees-rejectAttendeeWaitlistSeat","summary":"Reject attendee waitlist seat","description":"Rejects a waitlist seat for a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/updateApplicant":{"post":{"operationId":"booking-events-attendees-updateAttendeeApplicant","summary":"Update attendee applicant","description":"Updates the applicant of a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"applicant":{"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string","format":"phone"},"name":{"type":"string","minLength":1,"maxLength":81},"personName":{"type":"string","minLength":1,"maxLength":81},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},{"type":"null"}]}}}},"required":["applicant"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/updateParticipant":{"post":{"operationId":"booking-events-attendees-updateAttendeeParticipant","summary":"Update attendee participant","description":"Updates the participant data of a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":81},"formData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/sendMessage":{"post":{"operationId":"booking-events-attendees-sendAttendeeMessages","summary":"Send attendee messages","description":"Sends messages to attendees for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.read","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"bookingId":{"type":"string"},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"subject":{"type":"string"},"content":{"type":"string"}},"required":["subject","content"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/checkIn":{"post":{"operationId":"booking-events-attendees-checkInAttendees","summary":"Check in attendees","description":"Checks in selected attendees for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"bookingId":{"type":"string"},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"contactId":{"type":"string"},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"checkedInAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["checkedInAt"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"checkedInCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["checkedInCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/resetCheckIn":{"post":{"operationId":"booking-events-attendees-resetAttendeesCheckIn","summary":"Undo selected attendee check-ins","description":"Resets selected checked-in attendees to confirmed for the selected occurrence before it starts <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### event.read\n* #### attendee.edit","tags":["booking / events / attendees"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"bookingId":{"type":"string"},"status":{"type":"string","enum":["waitlisted","offered","pending","confirmed","canceled","checkedIn"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"required":["selection"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"resetCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resetCount"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/updateTeamSize":{"post":{"operationId":"booking-events-attendees-updateAttendeeTeamSize","summary":"Update attendee team size","description":"Updates the team size of a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["teamSize"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/updateServices":{"post":{"operationId":"booking-events-attendees-updateAttendeeServices","summary":"Update attendee services","description":"Updates the services of a specific attendee for a specific event for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### attendee.edit","tags":["booking / events / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"attendeeId","schema":{"type":"string"},"required":true},{"in":"path","name":"eventId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"optionIds":{"type":"array","items":{"type":"string"}}},"required":["serviceId","optionIds"]}},"options":{"type":"object","properties":{"charge":{"type":"boolean"},"refund":{"type":"boolean"},"refundAmounts":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"optionId":{"type":"string"},"amount":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["serviceId","optionId","amount"]}}},"required":["charge","refund"]}},"required":["services","options"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources":{"post":{"operationId":"booking-resources-createResource","summary":"Create resource","description":"Creates a new resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.insert","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]},"info":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"default":"","type":"string","maxLength":140},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"]}}},"required":["name"]},"siteIds":{"type":"array","items":{"type":"string"}},"offer":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"attachable":{"default":false,"type":"boolean"},"shared":{"default":false,"type":"boolean"}},"required":["type","info"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/duplicate":{"post":{"operationId":"booking-resources-duplicateResource","summary":"Duplicate resource","description":"Copies a resource and its settings within its mandate, without bookings or reservations <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resource.insert","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"]}},"required":["info"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}":{"get":{"operationId":"booking-resources-getResource","summary":"Get resource","description":"Returns a specific resource with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true},{"in":"query","name":"usage","schema":{"type":"string","enum":["attachable","eventLocation"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"attachable":{"type":"boolean"},"type":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]},"info":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"string array"},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"],"additionalProperties":false}}},"required":["name","description","image","tags","categories"],"additionalProperties":false},"sites":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"timezone":{"type":"string","minLength":1},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"stock":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["site","name","timezone","address","stock"],"additionalProperties":false}},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["payUntil"],"additionalProperties":false},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"attachReceipt":{"type":"boolean"},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"adjustments":{"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"],"additionalProperties":false}}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","adjustments"],"additionalProperties":false}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions"],"additionalProperties":false}},"availability":{"anyOf":[{"type":"object","properties":{"toRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["toRelative"],"additionalProperties":false},{"type":"null"}]},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"availableOnWatchlist":{"type":"boolean"},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"],"additionalProperties":false},{"type":"null"}]},"block":{"anyOf":[{"type":"object","properties":{"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":99},"endMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"endDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"internal":{"type":"boolean"},"cancelationMode":{"default":"single","type":"string","enum":["all","single"]}},"required":["maximum","endMonth","endDate","internal","cancelationMode"],"additionalProperties":false},{"type":"null"}]},"offer":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"offerName":{"type":"string"},"mode":{"type":"string","enum":["disabled","private","protected","public"]},"useCustomRates":{"type":"boolean"}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","paymentDueDate","disallowCancelation","refundPolicies","refundText","form","formSettings","attachReceipt","rates","services","availability","availabilityHours","availabilityWeekdays","availableOnWatchlist","slots","quantity","block","offer","offerName","mode","useCustomRates"],"additionalProperties":false},"attachables":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"required":{"type":"boolean"},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["disabled","private","protected","public"]}},"required":["mode"],"additionalProperties":false}},"required":["resource","name","image","required","offer"],"additionalProperties":false}},"settings":{"type":"object","properties":{"confirmationMailText":{"type":"string","maxLength":1600},"confirmationMailAttachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]},"checkIn":{"anyOf":[{"type":"object","properties":{"qrCode":{"type":"boolean"},"toleranceHours":{"type":"number","exclusiveMinimum":0},"autoCheckOutAfterHours":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"hasKey":{"type":"boolean"},"keyName":{"type":"string","minLength":1,"maxLength":80},"options":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"optionMode":{"type":"string","enum":["any","one","minOne"]}},"required":["qrCode","toleranceHours","autoCheckOutAfterHours","hasKey","keyName","options","optionMode"],"additionalProperties":false},{"type":"null"}]}},"required":["confirmationMailText","confirmationMailAttachments","checkIn"],"additionalProperties":false},"shared":{"type":"boolean"}},"required":["_id","mandate","attachable","type","info","sites","offer","settings","shared"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-resources-updateResource","summary":"Update resource","description":"Updates a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"]}},"image":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]}},"required":["name","description","tags","categories"]},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"availability":{"anyOf":[{"type":"object","properties":{"toRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["toRelative"]},{"type":"null"}]},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]}},"required":["from","to"]},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"availableOnWatchlist":{"type":"boolean"},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"]},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"]},{"type":"null"}]},"block":{"anyOf":[{"type":"object","properties":{"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":99},"endMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"endDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"internal":{"type":"boolean"},"cancelationMode":{"default":"single","type":"string","enum":["all","single"]}},"required":["maximum","endMonth","endDate","internal"]},{"type":"null"}]},"attachReceipt":{"type":"boolean"}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","formSettings","availability","availabilityHours","availabilityWeekdays","availableOnWatchlist","slots","quantity","block","attachReceipt"]},"settings":{"type":"object","properties":{"confirmationMailText":{"type":"string","maxLength":1600},"checkIn":{"anyOf":[{"type":"object","properties":{"qrCode":{"type":"boolean"},"toleranceHours":{"type":"number","exclusiveMinimum":0},"autoCheckOutAfterHours":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"hasKey":{"type":"boolean"},"keyName":{"type":"string","minLength":1,"maxLength":80},"options":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"optionMode":{"type":"string","enum":["any","one","minOne"]}},"required":["qrCode","toleranceHours","autoCheckOutAfterHours","hasKey","keyName","options","optionMode"]},{"type":"null"}]},"confirmationMailAttachments":{"anyOf":[{"maxItems":1,"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource"]}},{"type":"null"}]}},"required":["confirmationMailText","checkIn"]},"shared":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-deleteResource","summary":"Delete resource","description":"Deletes a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.remove","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/getAvailableStock":{"post":{"operationId":"booking-resources-getAvailableResourceStock","summary":"Get available stock","description":"Returns the available stock for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"string"},"dates":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]}}},"required":["siteId","dates"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"type":"string","enum":["notAvailable","soldOut","infinite"]},{"type":"number"}]}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/datesAvailabilities":{"post":{"operationId":"booking-resources-getDatesAvailabilities","summary":"Get resource date availabilities","description":"Returns availability for resource date ranges for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.insert\n* #### booking.insert","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"string"},"resourceId":{"type":"string"},"dates":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]}},"allowPastDates":{"default":false,"type":"boolean"}},"required":["siteId","resourceId","dates"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"available":{"type":"boolean"},"stock":{"anyOf":[{"type":"string","enum":["notAvailable","soldOut","infinite"]},{"type":"number"}]}},"required":["available","stock"],"additionalProperties":false}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/availableSlots":{"post":{"operationId":"booking-resources-listAvailableSlots","summary":"List available resource slots","description":"Returns available slots for resources for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.insert\n* #### booking.insert","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"string"},"resourceIds":{"minItems":1,"type":"array","items":{"type":"string"}},"availableOnly":{"default":false,"type":"boolean"},"allowPastDates":{"default":false,"type":"boolean"},"dates":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]}}},"required":["siteId","resourceIds","dates"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"days":{"type":"array","items":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"object","properties":{"resourceId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"slots":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"stock":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"type":"string","enum":["available","notAvailable","soldOut","reserved","maintenance","blocked","outOfOrder","closed","other"]}},"required":["from","to","stock","status"],"additionalProperties":false}}},"required":["resourceId","slots"],"additionalProperties":false}}},"required":["resources"],"additionalProperties":false}}},"required":["days"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/list":{"post":{"operationId":"booking-resources-listResources","summary":"List resources","description":"Returns a list of resources for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","attachable","type","info.name","info.description","info.image.resource","info.image.fileName","info.image.contentType","info.image.fileSizeBytes","info.tags","info.categories","sites","offer.sessionMinutes","offer.sessionRetries","offer.paymentMethods.sepaCreditTransfer.internal","offer.paymentMethods.sepaCreditTransfer.cashAccount","offer.paymentMethods.sepaCreditTransfer.note","offer.paymentMethods.sepaDirectDebit.internal","offer.paymentMethods.sepaDirectDebit.cashAccount","offer.paymentMethods.sepaDirectDebit.note","offer.paymentMethods.online.internal","offer.paymentMethods.online.note","offer.paymentMethods.online.stripe","offer.paymentMethods.online.paypal","offer.paymentMethods.cash.internal","offer.paymentMethods.cash.note","offer.paymentMethodsPending","offer.paymentDueDate.payUntil.value","offer.paymentDueDate.payUntil.unit","offer.disallowCancelation","offer.refundPolicies","offer.refundText","offer.form.groups","offer.form.pages","offer.form.submitCaption","offer.form.appearance.accentColor","offer.form.appearance.accentTextColor","offer.form.appearance.box.border.width","offer.form.appearance.box.border.color","offer.form.appearance.box.border.radius","offer.form.appearance.box.background.color","offer.form.appearance.box.font.color","offer.form.appearance.box.font.size","offer.form.appearance.box.font.weight","offer.form.appearance.box.shadows","offer.form.appearance.box.padding.left","offer.form.appearance.box.padding.right","offer.form.appearance.box.padding.top","offer.form.appearance.box.padding.bottom","offer.form.appearance.box.margin.left","offer.form.appearance.box.margin.right","offer.form.appearance.box.margin.top","offer.form.appearance.box.margin.bottom","offer.form.appearance.groupBox.border.width","offer.form.appearance.groupBox.border.color","offer.form.appearance.groupBox.border.radius","offer.form.appearance.groupBox.background.color","offer.form.appearance.groupBox.font.color","offer.form.appearance.groupBox.font.size","offer.form.appearance.groupBox.font.weight","offer.form.appearance.groupBox.shadows","offer.form.appearance.groupBox.padding.left","offer.form.appearance.groupBox.padding.right","offer.form.appearance.groupBox.padding.top","offer.form.appearance.groupBox.padding.bottom","offer.form.appearance.groupBox.margin.left","offer.form.appearance.groupBox.margin.right","offer.form.appearance.groupBox.margin.top","offer.form.appearance.groupBox.margin.bottom","offer.form.appearance.inputBox.border.width","offer.form.appearance.inputBox.border.color","offer.form.appearance.inputBox.border.radius","offer.form.appearance.inputBox.background.color","offer.form.appearance.inputBox.font.color","offer.form.appearance.inputBox.font.size","offer.form.appearance.inputBox.font.weight","offer.form.appearance.inputBox.shadows","offer.form.appearance.inputBox.padding.left","offer.form.appearance.inputBox.padding.right","offer.form.appearance.inputBox.padding.top","offer.form.appearance.inputBox.padding.bottom","offer.form.appearance.inputBox.margin.left","offer.form.appearance.inputBox.margin.right","offer.form.appearance.inputBox.margin.top","offer.form.appearance.inputBox.margin.bottom","offer.form.appearance.inputBox.labelFont.color","offer.form.appearance.inputBox.labelFont.size","offer.form.appearance.inputBox.labelFont.weight","offer.form.appearance.inputBox.height","offer.form.validations","offer.formSettings.addressMode","offer.formSettings.applicantType","offer.formSettings.organisationNamePlaceholder","offer.formSettings.requirePhone","offer.formSettings.showDiscountCode","offer.formSettings.showRefundPolicies","offer.formSettings.membershipNumberLabel","offer.attachReceipt","offer.rates","offer.services","offer.availability.toRelative.value","offer.availability.toRelative.unit","offer.availabilityHours.from.hours","offer.availabilityHours.from.minutes","offer.availabilityHours.to.hours","offer.availabilityHours.to.minutes","offer.availableOnWatchlist","offer.slots.size","offer.slots.unit","offer.slots.minimum","offer.slots.maximum","offer.slots.chargeRateBySlotNumber","offer.quantity.fromStock","offer.quantity.chargeRateByQuantity","offer.quantity.chargeServicesByQuantity","offer.quantity.minimum","offer.quantity.maximum","offer.quantity.name","offer.quantity.description","offer.block.maximum","offer.block.endMonth","offer.block.endDate","offer.block.internal","offer.block.cancelationMode","offer.offer","offer.offerName","offer.mode","offer.useCustomRates","settings.confirmationMailText","settings.confirmationMailAttachments","settings.checkIn.qrCode","settings.checkIn.toleranceHours","settings.checkIn.autoCheckOutAfterHours","settings.checkIn.hasKey","settings.checkIn.keyName","settings.checkIn.options","settings.checkIn.optionMode","shared"]},{"type":"string","pattern":"^offer\\.availabilityWeekdays\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"siteId":{"type":"string"},"attachableId":{"type":"string"},"attachable":{"type":"boolean"},"types":{"maxItems":100,"type":"array","items":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"categories":{"type":"array","items":{"type":"string"}},"checkInAvailable":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"usage":{"type":"string","enum":["attachable","eventLocation"]},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"resources":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"attachable":{"type":"boolean"},"type":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]},"info":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":140},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"string array"},"categories":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"nameNormalized":{"type":"string","minLength":1,"maxLength":60},"bookingCategoryId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["name","nameNormalized","bookingCategoryId"],"additionalProperties":false}}},"required":["name","description","image","tags","categories"],"additionalProperties":false},"sites":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"timezone":{"type":"string","minLength":1},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"stock":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["site","name","timezone","address","stock"],"additionalProperties":false}},"offer":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["payUntil"],"additionalProperties":false},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"attachReceipt":{"type":"boolean"},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"adjustments":{"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"],"additionalProperties":false}}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","adjustments"],"additionalProperties":false}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions"],"additionalProperties":false}},"availability":{"anyOf":[{"type":"object","properties":{"toRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false}},"required":["toRelative"],"additionalProperties":false},{"type":"null"}]},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"availableOnWatchlist":{"type":"boolean"},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"],"additionalProperties":false},{"type":"null"}]},"block":{"anyOf":[{"type":"object","properties":{"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":99},"endMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"endDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"internal":{"type":"boolean"},"cancelationMode":{"default":"single","type":"string","enum":["all","single"]}},"required":["maximum","endMonth","endDate","internal","cancelationMode"],"additionalProperties":false},{"type":"null"}]},"offer":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"offerName":{"type":"string"},"mode":{"type":"string","enum":["disabled","private","protected","public"]},"useCustomRates":{"type":"boolean"}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","paymentDueDate","disallowCancelation","refundPolicies","refundText","form","formSettings","attachReceipt","rates","services","availability","availabilityHours","availabilityWeekdays","availableOnWatchlist","slots","quantity","block","offer","offerName","mode","useCustomRates"],"additionalProperties":false},"settings":{"type":"object","properties":{"confirmationMailText":{"type":"string","maxLength":1600},"confirmationMailAttachments":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":6,"maxLength":6}},"required":["resource","id"],"additionalProperties":false}},{"type":"null"}]},"checkIn":{"anyOf":[{"type":"object","properties":{"qrCode":{"type":"boolean"},"toleranceHours":{"type":"number","exclusiveMinimum":0},"autoCheckOutAfterHours":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"hasKey":{"type":"boolean"},"keyName":{"type":"string","minLength":1,"maxLength":80},"options":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"optionMode":{"type":"string","enum":["any","one","minOne"]}},"required":["qrCode","toleranceHours","autoCheckOutAfterHours","hasKey","keyName","options","optionMode"],"additionalProperties":false},{"type":"null"}]}},"required":["confirmationMailText","confirmationMailAttachments","checkIn"],"additionalProperties":false},"shared":{"type":"boolean"}},"required":["_id","mandate","attachable","type","info","sites","offer","settings","shared"],"additionalProperties":false}}},"required":["count","resources"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/export":{"post":{"operationId":"booking-resources-exportResources","summary":"Export resources","description":"Exports resources for the organization and mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"siteId":{"type":"string"},"attachableId":{"type":"string"},"attachable":{"type":"boolean"},"types":{"maxItems":100,"type":"array","items":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"categories":{"type":"array","items":{"type":"string"}},"checkInAvailable":{"type":"boolean"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","createdAt","updatedAt","removedAt","createdBy.name","createdBy.type","createdBy.userId","createdBy.image.resource","createdBy.image.fileName","createdBy.image.contentType","createdBy.image.fileSizeBytes","createdBy.key","updatedBy.name","updatedBy.type","updatedBy.userId","updatedBy.image.resource","updatedBy.image.fileName","updatedBy.image.contentType","updatedBy.image.fileSizeBytes","updatedBy.key","removedBy.name","removedBy.type","removedBy.userId","removedBy.image.resource","removedBy.image.fileName","removedBy.image.contentType","removedBy.image.fileSizeBytes","removedBy.key","__ignoreTriggers","organization","mandate","attachable","shared","type","info.name","info.description","info.image.resource","info.image.fileName","info.image.contentType","info.image.fileSizeBytes","info.tags","info.categories","offer.sessionMinutes","offer.sessionRetries","offer.paymentMethods.sepaCreditTransfer.internal","offer.paymentMethods.sepaCreditTransfer.cashAccount","offer.paymentMethods.sepaCreditTransfer.note","offer.paymentMethods.sepaDirectDebit.internal","offer.paymentMethods.sepaDirectDebit.cashAccount","offer.paymentMethods.sepaDirectDebit.note","offer.paymentMethods.online.internal","offer.paymentMethods.online.note","offer.paymentMethods.online.stripe","offer.paymentMethods.online.paypal","offer.paymentMethods.cash.internal","offer.paymentMethods.cash.note","offer.paymentMethodsPending","offer.paymentDueDate.payUntil.value","offer.paymentDueDate.payUntil.unit","offer.disallowCancelation","offer.refundPolicies","offer.refundText","offer.form.groups","offer.form.pages","offer.form.submitCaption","offer.form.appearance.accentColor","offer.form.appearance.accentTextColor","offer.form.appearance.box.border.width","offer.form.appearance.box.border.color","offer.form.appearance.box.border.radius","offer.form.appearance.box.background.color","offer.form.appearance.box.font.color","offer.form.appearance.box.font.size","offer.form.appearance.box.font.weight","offer.form.appearance.box.shadows","offer.form.appearance.box.padding.left","offer.form.appearance.box.padding.right","offer.form.appearance.box.padding.top","offer.form.appearance.box.padding.bottom","offer.form.appearance.box.margin.left","offer.form.appearance.box.margin.right","offer.form.appearance.box.margin.top","offer.form.appearance.box.margin.bottom","offer.form.appearance.groupBox.border.width","offer.form.appearance.groupBox.border.color","offer.form.appearance.groupBox.border.radius","offer.form.appearance.groupBox.background.color","offer.form.appearance.groupBox.font.color","offer.form.appearance.groupBox.font.size","offer.form.appearance.groupBox.font.weight","offer.form.appearance.groupBox.shadows","offer.form.appearance.groupBox.padding.left","offer.form.appearance.groupBox.padding.right","offer.form.appearance.groupBox.padding.top","offer.form.appearance.groupBox.padding.bottom","offer.form.appearance.groupBox.margin.left","offer.form.appearance.groupBox.margin.right","offer.form.appearance.groupBox.margin.top","offer.form.appearance.groupBox.margin.bottom","offer.form.appearance.inputBox.border.width","offer.form.appearance.inputBox.border.color","offer.form.appearance.inputBox.border.radius","offer.form.appearance.inputBox.background.color","offer.form.appearance.inputBox.font.color","offer.form.appearance.inputBox.font.size","offer.form.appearance.inputBox.font.weight","offer.form.appearance.inputBox.shadows","offer.form.appearance.inputBox.padding.left","offer.form.appearance.inputBox.padding.right","offer.form.appearance.inputBox.padding.top","offer.form.appearance.inputBox.padding.bottom","offer.form.appearance.inputBox.margin.left","offer.form.appearance.inputBox.margin.right","offer.form.appearance.inputBox.margin.top","offer.form.appearance.inputBox.margin.bottom","offer.form.appearance.inputBox.labelFont.color","offer.form.appearance.inputBox.labelFont.size","offer.form.appearance.inputBox.labelFont.weight","offer.form.appearance.inputBox.height","offer.form.validations","offer.formSettings.addressMode","offer.formSettings.applicantType","offer.formSettings.organisationNamePlaceholder","offer.formSettings.requirePhone","offer.formSettings.showDiscountCode","offer.formSettings.showRefundPolicies","offer.formSettings.membershipNumberLabel","offer.attachReceipt","offer.rates","offer.services","offer.availability.toRelative.value","offer.availability.toRelative.unit","offer.availabilityHours.from.hours","offer.availabilityHours.from.minutes","offer.availabilityHours.to.hours","offer.availabilityHours.to.minutes","offer.availableOnWatchlist","offer.slots.size","offer.slots.unit","offer.slots.minimum","offer.slots.maximum","offer.slots.chargeRateBySlotNumber","offer.quantity.fromStock","offer.quantity.chargeRateByQuantity","offer.quantity.chargeServicesByQuantity","offer.quantity.minimum","offer.quantity.maximum","offer.quantity.name","offer.quantity.description","offer.block.maximum","offer.block.endMonth","offer.block.endDate","offer.block.internal","offer.block.cancelationMode","offer.offer","offer.offerName","offer.mode","offer.useCustomRates","sites","attachables","settings.confirmationMailText","settings.confirmationMailAttachments","settings.checkIn.qrCode","settings.checkIn.toleranceHours","settings.checkIn.autoCheckOutAfterHours","settings.checkIn.hasKey","settings.checkIn.keyName","settings.checkIn.options","settings.checkIn.optionMode"]},{"type":"string","pattern":"^offer\\.availabilityWeekdays\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/attachables":{"post":{"operationId":"booking-resources-updateResourceAttachables","summary":"Update attachables","description":"Updates the attachables of a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attachables":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"resourceId":{"type":"string"},"required":{"default":false,"type":"boolean"}},"required":["resourceId"]}}},"required":["attachables"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/sites":{"post":{"operationId":"booking-resources-updateResourceSites","summary":"Update sites","description":"Updates the sites of a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit\n* #### site.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"shared":{"type":"boolean"},"sites":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"siteId":{"type":"string"},"stock":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["siteId"]}}},"required":["sites"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/offer":{"post":{"operationId":"booking-resources-updateResourceOffer","summary":"Update offer","description":"Updates the linked offer of a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["disabled","private","protected","public"]},"offerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"useCustomRates":{"default":false,"type":"boolean"}},"required":["mode","offerId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/form":{"post":{"operationId":"booking-resources-updateResourceForm","summary":"Update form","description":"Updates the form of a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]}},"required":["form"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/services":{"post":{"operationId":"booking-resources-updateResourceServices","summary":"Update services","description":"Updates all services for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit\n* #### supplementaryService.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"serviceRequired":{"type":"boolean"},"serviceId":{"type":"string"}},"required":["serviceId"]}}},"required":["services"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/rates":{"post":{"operationId":"booking-resources-createResourceRate","summary":"Create rate","description":"Creates a new rate for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"adjustments":{"default":[],"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"]}},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"rateId":{"type":"string","minLength":8,"maxLength":8}},"required":["rateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/rates/{rateId}":{"post":{"operationId":"booking-resources-updateResourceRate","summary":"Update rate","description":"Updates a specific rate for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"adjustments":{"default":[],"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"]}},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-deleteResourceRate","summary":"Delete rate","description":"Deletes a specific rate for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.edit","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/tags/list":{"post":{"operationId":"booking-resources-listTags","summary":"List tags","description":"Returns a list of tags for a given resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"},"onlyUsedTags":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/tags/remove":{"post":{"operationId":"booking-resources-removeTag","summary":"Remove tag","description":"Removes a resource tag case-insensitively from resources and dependent booking views and discount codes and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.remove","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/occupancy":{"post":{"operationId":"booking-resources-listOccupancy","summary":"List occupancy","description":"Returns a list of occupancy for a given resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read","tags":["booking / resources"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"resourceId":{"type":"string"},"siteId":{"type":"string"},"types":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]}},"tags":{"type":"array","items":{"type":"string","minLength":1}},"fromDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"toDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["fromDate","toDate"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"records":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string","minLength":1,"maxLength":100},"resourceType":{"type":"string","enum":["place","person","vehicle","tool","clothing","object","other"]},"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string"},"stock":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"occupancies":{"type":"array","items":{"type":"object","properties":{"status":{"type":"object","propertyNames":{"type":"string","enum":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"required":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]},"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"bookingRecordNumbers":{"type":"array","items":{"type":"string","minLength":10,"maxLength":10}},"bookingQuantity":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["status","from","to","quantity","bookingRecordNumbers","bookingQuantity"],"additionalProperties":false}}},"required":["resource","resourceName","resourceType","site","siteName","stock","occupancies"],"additionalProperties":false}}},"required":["count","records"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/sites":{"post":{"operationId":"booking-resources-sites-createSite","summary":"Create site","description":"Creates a new site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### site.insert","tags":["booking / resources / sites"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"timezone":{"type":"string","minLength":1},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"shared":{"default":false,"type":"boolean"}},"required":["timezone","address","name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/sites/{siteId}":{"get":{"operationId":"booking-resources-sites-getSite","summary":"Get site","description":"Returns information for a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### site.read","tags":["booking / resources / sites"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"siteId","schema":{"type":"string"},"required":true},{"in":"query","name":"includeShared","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timezone":{"type":"string","minLength":1},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"default":null,"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"shared":{"type":"boolean"}},"required":["_id","mandate","timezone","address","location","name","description","image","shared"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-resources-sites-updateSite","summary":"Update site","description":"Updates a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### site.edit","tags":["booking / resources / sites"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"siteId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"]},"image":{"default":null,"anyOf":[{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"]},{"type":"null"}]},"shared":{"type":"boolean"}},"required":["name","description","address"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-sites-deleteSite","summary":"Delete site","description":"Deletes a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### site.remove","tags":["booking / resources / sites"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"siteId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/sites/list":{"post":{"operationId":"booking-resources-sites-listSites","summary":"List sites","description":"Returns a list of sites for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### site.read","tags":["booking / resources / sites"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","timezone","address.country","address.state","address.zip","address.city","address.addressLine","address.details1","address.details2","location.latitude","location.longitude","name","description","image.resource","image.fileName","image.contentType","image.fileSizeBytes","shared"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"timezone":{"type":"string","minLength":1},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"includeShared":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"sites":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timezone":{"type":"string","minLength":1},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"location":{"default":null,"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"shared":{"type":"boolean"}},"required":["_id","mandate","timezone","address","location","name","description","image","shared"],"additionalProperties":false}}},"required":["count","sites"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers":{"post":{"operationId":"booking-resources-offers-createOffer","summary":"Create offer","description":"Creates a new offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.insert","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"default":"","type":"string","maxLength":140},"offer":{"type":"object","properties":{"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"updatedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"removedBy":{"anyOf":[{"oneOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"]},{"type":"null"}]}},"required":["name","type","userId","image"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"api"},"key":{"type":"string"}},"required":["name","type","key"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"system"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"guest"}},"required":["name","type"]}],"type":"object"},{"type":"null"}]},"__ignoreTriggers":{"anyOf":[{"type":"string"},{"type":"null"}]},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"attachReceipt":{"type":"boolean"},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"standard":{"type":"boolean"},"adjustments":{"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"]}}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","adjustments"]}},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]}},"required":["id","name","description","price"]}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions"]}},"availability":{"anyOf":[{"type":"object","properties":{"toRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["toRelative"]},{"type":"null"}]},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]}},"required":["from","to"]},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"availableOnWatchlist":{"type":"boolean"},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"]},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"]},{"type":"null"}]},"block":{"anyOf":[{"type":"object","properties":{"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":99},"endMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"endDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"internal":{"type":"boolean"},"cancelationMode":{"default":"single","type":"string","enum":["all","single"]}},"required":["maximum","endMonth","endDate","internal"]},{"type":"null"}]}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","form","formSettings","attachReceipt","rates","services","availability","availabilityHours","availabilityWeekdays","availableOnWatchlist","slots","quantity","block"]}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}":{"get":{"operationId":"booking-resources-offers-getOffer","summary":"Get offer","description":"Returns information for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.read","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions"],"additionalProperties":false}},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"adjustments":{"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"],"additionalProperties":false}}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","adjustments"],"additionalProperties":false}},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","services","refundPolicies","refundText","form","formSettings","name","description","rates","availabilityHours","availabilityWeekdays","slots","quantity"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-resources-offers-updateOffer","summary":"Update offer","description":"Updates a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note"]},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"]},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"]},"paymentDueDate":{"default":null,"anyOf":[{"type":"object","properties":{"payUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["payUntil"]},{"type":"null"}]},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"disallowCancelation":{"type":"boolean"},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]}},"required":["refundUntil","priceModifier","pointModifier"]}},"refundText":{"type":"string","maxLength":400},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"]},"availability":{"anyOf":[{"type":"object","properties":{"toRelative":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]}},"required":["toRelative"]},{"type":"null"}]},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]}},"required":["from","to"]},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"availableOnWatchlist":{"type":"boolean"},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"]},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"]},{"type":"null"}]},"block":{"anyOf":[{"type":"object","properties":{"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":99},"endMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"endDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"internal":{"type":"boolean"},"cancelationMode":{"default":"single","type":"string","enum":["all","single"]}},"required":["maximum","endMonth","endDate","internal"]},{"type":"null"}]},"attachReceipt":{"type":"boolean"}},"required":["sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","disallowCancelation","refundPolicies","refundText","formSettings","availability","availabilityHours","availabilityWeekdays","availableOnWatchlist","slots","quantity","block","attachReceipt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-offers-deleteOffer","summary":"Delete offer","description":"Deletes a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.remove","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/list":{"post":{"operationId":"booking-resources-offers-listOffers","summary":"List offers","description":"Returns a list of offers for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.read","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods.sepaCreditTransfer.internal","paymentMethods.sepaCreditTransfer.cashAccount","paymentMethods.sepaCreditTransfer.note","paymentMethods.sepaDirectDebit.internal","paymentMethods.sepaDirectDebit.cashAccount","paymentMethods.sepaDirectDebit.note","paymentMethods.online.internal","paymentMethods.online.note","paymentMethods.online.stripe","paymentMethods.online.paypal","paymentMethods.cash.internal","paymentMethods.cash.note","paymentMethodsPending","services","refundPolicies","refundText","form.groups","form.pages","form.submitCaption","form.appearance.accentColor","form.appearance.accentTextColor","form.appearance.box.border.width","form.appearance.box.border.color","form.appearance.box.border.radius","form.appearance.box.background.color","form.appearance.box.font.color","form.appearance.box.font.size","form.appearance.box.font.weight","form.appearance.box.shadows","form.appearance.box.padding.left","form.appearance.box.padding.right","form.appearance.box.padding.top","form.appearance.box.padding.bottom","form.appearance.box.margin.left","form.appearance.box.margin.right","form.appearance.box.margin.top","form.appearance.box.margin.bottom","form.appearance.groupBox.border.width","form.appearance.groupBox.border.color","form.appearance.groupBox.border.radius","form.appearance.groupBox.background.color","form.appearance.groupBox.font.color","form.appearance.groupBox.font.size","form.appearance.groupBox.font.weight","form.appearance.groupBox.shadows","form.appearance.groupBox.padding.left","form.appearance.groupBox.padding.right","form.appearance.groupBox.padding.top","form.appearance.groupBox.padding.bottom","form.appearance.groupBox.margin.left","form.appearance.groupBox.margin.right","form.appearance.groupBox.margin.top","form.appearance.groupBox.margin.bottom","form.appearance.inputBox.border.width","form.appearance.inputBox.border.color","form.appearance.inputBox.border.radius","form.appearance.inputBox.background.color","form.appearance.inputBox.font.color","form.appearance.inputBox.font.size","form.appearance.inputBox.font.weight","form.appearance.inputBox.shadows","form.appearance.inputBox.padding.left","form.appearance.inputBox.padding.right","form.appearance.inputBox.padding.top","form.appearance.inputBox.padding.bottom","form.appearance.inputBox.margin.left","form.appearance.inputBox.margin.right","form.appearance.inputBox.margin.top","form.appearance.inputBox.margin.bottom","form.appearance.inputBox.labelFont.color","form.appearance.inputBox.labelFont.size","form.appearance.inputBox.labelFont.weight","form.appearance.inputBox.height","form.validations","formSettings.addressMode","formSettings.applicantType","formSettings.organisationNamePlaceholder","formSettings.requirePhone","formSettings.showDiscountCode","formSettings.showRefundPolicies","formSettings.membershipNumberLabel","name","description","rates","availabilityHours.from.hours","availabilityHours.from.minutes","availabilityHours.to.hours","availabilityHours.to.minutes","slots.size","slots.unit","slots.minimum","slots.maximum","slots.chargeRateBySlotNumber","quantity.fromStock","quantity.chargeRateByQuantity","quantity.chargeServicesByQuantity","quantity.minimum","quantity.maximum","quantity.name","quantity.description"]},{"type":"string","pattern":"^availabilityWeekdays\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"offers":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"sessionMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sessionRetries":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethods":{"type":"object","properties":{"sepaCreditTransfer":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"cashAccount":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"note":{"type":"string","maxLength":300}},"required":["internal","cashAccount","note"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300},"stripe":{"default":true,"anyOf":[{"type":"boolean"},{"type":"null"}]},"paypal":{"default":false,"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["internal","note","stripe","paypal"],"additionalProperties":false},{"type":"null"}]},"cash":{"anyOf":[{"type":"object","properties":{"internal":{"type":"boolean"},"note":{"type":"string","maxLength":300}},"required":["internal","note"],"additionalProperties":false},{"type":"null"}]}},"required":["sepaCreditTransfer","sepaDirectDebit","online","cash"],"additionalProperties":false},"paymentMethodsPending":{"type":"string","enum":["unpaid","partial","paid"]},"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceDescription":{"type":"string"},"serviceOptions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}},"serviceMinOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceMaxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"serviceRequired":{"type":"boolean"},"serviceChargedOnce":{"type":"boolean"}},"required":["service","serviceName","serviceDescription","serviceOptions","serviceMinOptions","serviceMaxOptions"],"additionalProperties":false}},"refundPolicies":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"refundUntil":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"pointModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false}},"required":["refundUntil","priceModifier","pointModifier"],"additionalProperties":false}},"refundText":{"type":"string","maxLength":400},"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"],"additionalProperties":false},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"],"additionalProperties":false}},"required":["id","type","label","format"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]}},"required":["description","condition","expression"],"additionalProperties":false}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"],"additionalProperties":false},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"],"additionalProperties":false},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema5"}},"required":["source","lookup","array","select"],"additionalProperties":false},{"$ref":"#/components/schemas/__schema6"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"],"additionalProperties":false}],"type":"object"}}},"required":["id","type","fields"],"additionalProperties":false}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema5"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"],"additionalProperties":false}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"],"additionalProperties":false}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}},"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"additionalProperties":false},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"],"additionalProperties":false}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}},"additionalProperties":false},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}},"additionalProperties":false},"height":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema5"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"],"additionalProperties":false}}},"required":["groups"],"additionalProperties":false},"formSettings":{"type":"object","properties":{"addressMode":{"type":"string","enum":["none","optional","required"]},"applicantType":{"type":"string","enum":["person","organization","both"]},"organisationNamePlaceholder":{"type":"string","maxLength":40},"requirePhone":{"type":"boolean"},"showDiscountCode":{"type":"boolean"},"showRefundPolicies":{"type":"boolean"},"membershipNumberLabel":{"type":"string","maxLength":50}},"required":["addressMode","applicantType","organisationNamePlaceholder","requirePhone","showDiscountCode","showRefundPolicies","membershipNumberLabel"],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140},"rates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"availableFrom":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"availableTo":{"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"],"additionalProperties":false},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"type":"string array"},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode","allMandates"],"additionalProperties":false},{"type":"null"}]},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCard":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"punchCardName":{"type":"string"},"punchCardPrice":{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCard","punchCardName","punchCardPrice","points"],"additionalProperties":false},{"type":"null"}]}},"required":["type","price","punchCard"],"additionalProperties":false},"standard":{"type":"boolean"},"adjustments":{"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"],"additionalProperties":false}}},"required":["id","name","description","availableFrom","availableTo","member","charge","standard","adjustments"],"additionalProperties":false}},"availabilityHours":{"anyOf":[{"type":"object","properties":{"from":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false},"to":{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},{"type":"null"}]},"availabilityWeekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"slots":{"type":"object","properties":{"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unit":{"type":"string","enum":["minutes","hours","days"]},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"chargeRateBySlotNumber":{"type":"boolean"}},"required":["size","unit","minimum","maximum","chargeRateBySlotNumber"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"object","properties":{"fromStock":{"type":"boolean"},"chargeRateByQuantity":{"type":"boolean"},"chargeServicesByQuantity":{"type":"boolean"},"minimum":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maximum":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"name":{"type":"string","maxLength":20},"description":{"type":"string","maxLength":140}},"required":["fromStock","chargeRateByQuantity","chargeServicesByQuantity","minimum","maximum","name","description"],"additionalProperties":false},{"type":"null"}]}},"required":["_id","mandate","sessionMinutes","sessionRetries","paymentMethods","paymentMethodsPending","services","refundPolicies","refundText","form","formSettings","name","description","rates","availabilityHours","availabilityWeekdays","slots","quantity"],"additionalProperties":false}}},"required":["count","offers"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}/info":{"post":{"operationId":"booking-resources-offers-updateOfferInfo","summary":"Update offer info","description":"Updates the information of a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":140}},"required":["name","description"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}/form":{"post":{"operationId":"booking-resources-offers-updateOfferForm","summary":"Update offer form","description":"Updates the form of a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"form":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"pageId":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","maxLength":140},"hint":{"type":"string","maxLength":280},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"not":{}},"type":{"type":"string","const":"row"},"stretch":{"not":{}},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"align":{"type":"string","enum":["start","center","end"]},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"placeholder"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":140}},"required":["id","type","name"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"html"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"html":{"type":"string","maxLength":20000}},"required":["id","type","html"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"spacer"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"height":{"type":"number","exclusiveMinimum":0},"width":{"type":"number","exclusiveMinimum":0}},"required":["id","type","height"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"info"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"style":{"type":"string","enum":["default","info","warning","error","success"]},"title":{"type":"string","minLength":1,"maxLength":140},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"text"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]},"minLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxLength":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"regex":{"type":"object","properties":{"regex":{"type":"string","minLength":1},"caseSensitive":{"type":"boolean"}},"required":["regex"]},"phone":{"type":"object","properties":{"defaultCountry":{"type":"string"},"hideCountry":{"type":"boolean"}},"required":["defaultCountry"]}},"required":["id","type","label","format"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"select"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"multiSelect"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"renderMode":{"type":"string","enum":["separate","panel"]},"allowCustomOptions":{"type":"boolean"},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"minChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxChoices":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","type","label","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"date"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"format":{"type":"string"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"time"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"dateTime"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"number"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"decimal":{"type":"boolean"},"min":{"type":"number"},"max":{"type":"number"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"calculated"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"bindPropertyPath":{"type":"string"},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"required":{"not":{}},"disabled":{"not":{}},"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"rules":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"expression":{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]}},"required":["description","condition","expression"]}},"fallbackExpression":{"anyOf":[{"anyOf":[{"type":"object","properties":{"literal":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}},{"anyOf":[{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"string"},{"type":"string"},{"type":"string"}]}]}},"required":["literal"]},{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"object","properties":{"source":{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},"lookup":{"anyOf":[{"type":"object","properties":{"variable":{"type":"string","minLength":1}},"required":["variable"]},{"type":"null"}]},"array":{"type":"boolean"},"select":{"$ref":"#/components/schemas/__schema0"}},"required":["source","lookup","array","select"]},{"$ref":"#/components/schemas/__schema1"}]},{"type":"null"}]}},"required":["id","type","label","resultType","rules","fallbackExpression"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"file"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"fileName":{"type":"string","maxLength":100},"allowedTypes":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"signature"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"}},"required":["id","type","label"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"rating"},"stretch":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"scale":{"type":"string","enum":["number","coloredNumber","star","smiley","coloredSmiley"]},"size":{"type":"integer","minimum":3,"maximum":10},"startLabel":{"type":"string","maxLength":80},"endLabel":{"type":"string","maxLength":80}},"required":["id","type","label","scale","size"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"matrix"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"rows":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["id","type","label","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"boolean"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"label":{"type":"string","minLength":1,"maxLength":140},"confirmLabel":{"type":"string","maxLength":140}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"address"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"placeholder":{"type":"string","maxLength":40},"default":{"type":"string"},"bindPropertyPath":{"type":"string"},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"hasLabels":{"type":"boolean"},"autoComplete":{"type":"boolean"},"hasDetails":{"type":"boolean"},"hideCountry":{"type":"boolean"},"defaultCountry":{"type":"string"},"restrictCountries":{"maxItems":100,"type":"array","items":{"type":"string"}}},"required":["id","type","defaultCountry"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"termsPrivacy"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"not":{}},"hint":{"not":{}},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"termsUrl":{"type":"string","format":"uri"},"privacyUrl":{"type":"string","format":"uri"},"agreeItems":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"preText":{"type":"string","minLength":1,"maxLength":280},"linkText":{"type":"string","minLength":1,"maxLength":140},"linkUrl":{"type":"string","format":"uri"},"postText":{"type":"string","maxLength":280}},"required":["preText","linkText","linkUrl"]}}},"required":["id","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","const":"paymentMethod"},"stretch":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"boolean"}]},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":280},"required":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}},"nextOnSameRow":{"type":"boolean"},"placeholder":{"not":{}},"default":{"not":{}},"bindPropertyPath":{"not":{}},"allowedPaymentMethods":{"minItems":1,"type":"array","items":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]}},"paymentMode":{"type":"string","enum":["oneTime","recurring"]}},"required":["id","type","label","allowedPaymentMethods","paymentMode"]}],"type":"object"}}},"required":["id","type","fields"]}],"type":"object"}},"disabled":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"hidden":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/__schema0"}]},"minItems":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxItems":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"addItemCaption":{"type":"string","maxLength":64},"itemCaption":{"type":"string","maxLength":100},"itemMode":{"type":"string","enum":["noHeader","draggable"]}},"required":["id","label","fields"]}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":24},"label":{"type":"string","minLength":1,"maxLength":40},"hint":{"type":"string","maxLength":280}},"required":["id","label"]}},"submitCaption":{"type":"string"},"appearance":{"type":"object","properties":{"accentColor":{"type":"string"},"accentTextColor":{"type":"string"},"box":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"groupBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}}}},"inputBox":{"type":"object","properties":{"border":{"type":"object","properties":{"width":{"type":"number"},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"radius":{"type":"number"}}},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}}},"font":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"shadows":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"blur":{"type":"number","minimum":0},"spread":{"type":"number","minimum":0},"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"}},"required":["x","y","blur","spread","color"]}},"padding":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"margin":{"type":"object","properties":{"left":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"top":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0}}},"labelFont":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9A-F]{6,8}$"},"size":{"type":"number","minimum":1},"weight":{"type":"number"}}},"height":{"type":"number","minimum":0}}}}},"validations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":140},"condition":{"$ref":"#/components/schemas/__schema0"},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["description","condition"]}}},"required":["groups"]}},"required":["form"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}/services":{"post":{"operationId":"booking-resources-offers-updateOfferServices","summary":"Update offer services","description":"Updates all services for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit\n* #### supplementaryService.read","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"serviceRequired":{"type":"boolean"},"serviceId":{"type":"string"}},"required":["serviceId"]}}},"required":["services"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}/rates":{"post":{"operationId":"booking-resources-offers-createOfferRate","summary":"Create offer rate","description":"Creates a new rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"adjustments":{"default":[],"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"]}}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"rateId":{"type":"string","minLength":8,"maxLength":8}},"required":["rateId"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/offers/{offerId}/rates/{rateId}":{"post":{"operationId":"booking-resources-offers-updateOfferRate","summary":"Update offer rate","description":"Updates a specific rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"charge":{"type":"object","properties":{"type":{"type":"string","enum":["price","punchCard"]},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"punchCard":{"anyOf":[{"type":"object","properties":{"punchCardId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"points":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["punchCardId","points"]},{"type":"null"}]}},"required":["type","price","punchCard"]},"description":{"default":"","type":"string","maxLength":140},"availableFrom":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"availableTo":{"default":null,"anyOf":[{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unit":{"type":"string","enum":["hours","days","weeks","months","years"]}},"required":["value","unit"]},{"type":"null"}]},"member":{"anyOf":[{"type":"object","properties":{"tags":{"maxItems":4,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"tagsMode":{"type":"string","enum":["any","all"]},"allMandates":{"default":false,"type":"boolean"}},"required":["tags","tagsMode"]},{"type":"null"}]},"standard":{"type":"boolean"},"adjustments":{"default":[],"type":"array","items":{"type":"object","properties":{"fromMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"fromDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"fromTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"toMonth":{"anyOf":[{"type":"number","minimum":1,"maximum":12},{"type":"null"}]},"toDate":{"anyOf":[{"type":"number","minimum":1,"maximum":31},{"type":"null"}]},"toTime":{"anyOf":[{"type":"object","properties":{"hours":{"type":"integer","minimum":0,"maximum":23},"minutes":{"type":"integer","minimum":0,"maximum":59}},"required":["hours","minutes"]},{"type":"null"}]},"weekdays":{"type":"object","propertyNames":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"additionalProperties":{"type":"boolean"}},"value":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["fromMonth","fromDate","fromTime","toMonth","toDate","toTime","weekdays","value"]}}},"required":["name","charge"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-offers-deleteOfferRate","summary":"Delete offer rate","description":"Deletes a specific rate for a specific offer for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resourceOffer.edit","tags":["booking / resources / offers"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"offerId","schema":{"type":"string"},"required":true},{"in":"path","name":"rateId","schema":{"type":"string","minLength":8,"maxLength":8},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/bookings":{"post":{"operationId":"booking-resources-bookings-createBooking","summary":"Create booking","description":"Creates a new booking using reservations for resources for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.insert\n* #### booking.insert","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"buyer":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"personName":{"type":"string","minLength":1,"maxLength":81},"receiptMode":{"type":"string","enum":["gross","net"]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}}},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent"]},{"type":"null"}]}},"required":["paymentMethod","sepaDirectDebit","online"]},{"type":"null"}]},"contactId":{"type":"string"},"birthdate":{"type":"string"},"membershipNumber":{"type":"string","maxLength":24}},"required":["type","name","email"]},"reservations":{"maxItems":99,"type":"array","items":{"type":"object","properties":{"rateId":{"type":"string","minLength":8,"maxLength":8},"services":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"}},"required":["optionId"]}}},"required":["serviceId","options"]}},"issuedPunchCardNumber":{"anyOf":[{"type":"string","const":"issue_new_punch_card"},{"type":"string","const":"use_existing_punch_card"},{"type":"string","minLength":14,"maxLength":14}]},"date":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"slots":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"]},"date":{"type":"object","properties":{"format":{"type":"string"}}},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["resultType"]},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"]}},"required":["id","type"]}]}}},"required":["id","label","fields"]}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["schema","data"]},{"type":"null"}]},"resourceId":{"type":"string"},"siteId":{"type":"string"}},"required":["date","slots","quantity","resourceId","siteId"]}},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"]},"date":{"type":"object","properties":{"format":{"type":"string"}}},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}}},"required":["resultType"]},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"]}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"]}},"required":["id","type"]}]}}},"required":["id","label","fields"]}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}}},"required":["schema","data"]},{"type":"null"}]},"discountCode":{"type":"string","minLength":1,"maxLength":32},"notifyBuyer":{"default":true,"type":"boolean"}},"required":["buyer","reservations"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/booking/resources/bookings/form":{"post":{"operationId":"booking-resources-bookings-createBookingFromForm","summary":"Create booking from form","description":"Creates a new booking for a specific session tied to an resource from a form for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.insert\n* #### booking.insert","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sessionId":{"type":"string"},"formData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"notifyBuyer":{"default":true,"type":"boolean"},"checkPastDateStockAvailability":{"default":true,"type":"boolean"},"wasPaid":{"default":false,"type":"boolean"},"paymentDueDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["sessionId","formData"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/contactBookings/form":{"post":{"operationId":"booking-resources-bookings-createContactBookingFromForm","summary":"Create contact booking","description":"Creates one contact-linked booking from an admin booking form, validating current availability and contact data. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### booking.insert\n* #### resource.read\n* #### resourceReservation.insert","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contactId":{"type":"string"},"bookingId":{"type":"string"},"formData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"]},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema2"}}]}},"notifyBuyer":{"default":true,"type":"boolean"},"paymentDueDate":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reservations":{"minItems":1,"maxItems":99,"type":"array","items":{"type":"object","properties":{"resource":{"type":"string"},"site":{"type":"string"},"date":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["resource","site","date"]}},"checkPastDateStockAvailability":{"default":true,"type":"boolean"}},"required":["contactId","bookingId","formData","reservations"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/bookings/list":{"post":{"operationId":"booking-resources-bookings-listBookings","summary":"List bookings","description":"Returns a list of bookings for a given resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### booking.read","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","bookingNumber","buyer.type","buyer.name","buyer.nameNormalized","buyer.nameSort","buyer.email","buyer.phone","buyer.address.country","buyer.address.state","buyer.address.zip","buyer.address.city","buyer.address.addressLine","buyer.address.details1","buyer.address.details2","buyer.userId","buyer.account","buyer.contact","buyer.payment.paymentMethod","buyer.payment.sepaDirectDebit.iban","buyer.payment.sepaDirectDebit.bic","buyer.payment.online.paymentIntent","buyer.payment.online.provider","buyer.payment.online.paymentMode","buyer.payment.online.onlineDebitCollection","buyer.personName","buyer.receiptMode","receipts","formResult.schema","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records","createdAt"]},{"type":"string","pattern":"^formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"type":{"type":"string","enum":["event","resource"]},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"resourceIds":{"minItems":1,"type":"array","items":{"type":"string"}}},"required":["resourceIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"bookings":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["event","resource"]},"bookingNumber":{"type":"string","minLength":7,"maxLength":7},"buyer":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"userId":{"type":"string","maxLength":24},"account":{"type":"integer","minimum":1,"maximum":999999999},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"anyOf":[{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]},"paymentMode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"onlineDebitCollection":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false},{"type":"null"}]}},"required":["paymentMethod","sepaDirectDebit","online"],"additionalProperties":false},{"type":"null"}]},"personName":{"type":"string","minLength":1,"maxLength":81},"receiptMode":{"type":"string","enum":["gross","net"]}},"required":["type","name","nameNormalized","nameSort","email","phone","address","userId","contact","payment"],"additionalProperties":false},"receipts":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"receiptNumber":{"type":"string","maxLength":30},"paymentStatus":{"type":"string","enum":["unpaid","partial","paid"]},"paymentTerms":{"type":"string","maxLength":2000},"paymentDueDate":{"default":null,"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"paymentTotalAmountLeftToPay":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"canceledAt":{"default":null,"anyOf":[{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},{"type":"null"}]},"externalRefund":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","enum":["stripe","paypal"]},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["provider","amount"],"additionalProperties":false},{"type":"null"}]}},"required":["receipt","receiptNumber","paymentStatus","paymentTerms","paymentDueDate","paymentTotalAmountLeftToPay","canceledAt"],"additionalProperties":false}},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]},"totalPrice":{"type":"integer","minimum":0,"maximum":9999999999},"totalPoints":{"type":"integer","minimum":0,"maximum":9007199254740991},"usedPunchCardNumbers":{"type":"array","items":{"type":"string"}},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["confirmed","partialCancelation","canceled"]},"paymentStatus":{"anyOf":[{"type":"string","enum":["unpaid","partial","paid"]},{"type":"null"}]},"cancelations":{"type":"array","items":{"type":"object","properties":{"recordNumber":{"type":"string","minLength":10,"maxLength":10},"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240},"priceRefund":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"pointsRefund":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"partial":{"type":"boolean"},"refundPayout":{"oneOf":[{"type":"object","properties":{"channel":{"type":"string","const":"bankTransfer"},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"accountName":{"type":"string","minLength":1,"maxLength":140}},"required":["channel","iban","accountName"],"additionalProperties":false},{"type":"object","properties":{"channel":{"type":"string","const":"cash"}},"required":["channel"],"additionalProperties":false}],"type":"object"},"refundReceiptBreakdown":{"type":"array","items":{"type":"object","properties":{"receipt":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["receipt","amount"],"additionalProperties":false}}},"required":["recordNumber","canceledAt","reason","priceRefund","pointsRefund"],"additionalProperties":false}},"records":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","type","bookingNumber","buyer","receipts","formResult","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records"],"additionalProperties":false}}},"required":["count","bookings"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/bookings/{bookingId}/cancel":{"post":{"operationId":"booking-resources-bookings-cancelBooking","summary":"Cancel booking","description":"Cancels a specific booking for one or more resources for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### booking.insert","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"bookingId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reservationIds":{"type":"array","items":{"type":"string"}},"reason":{"type":"string","maxLength":240},"notifyBuyer":{"default":true,"type":"boolean"},"fullRefund":{"default":false,"type":"boolean"},"refundPayout":{"oneOf":[{"type":"object","properties":{"channel":{"type":"string","const":"bankTransfer"},"iban":{"type":"string","format":"iban"},"bic":{"type":"string"},"accountName":{"type":"string","minLength":1,"maxLength":140}},"required":["channel","iban","accountName"]},{"type":"object","properties":{"channel":{"type":"string","const":"cash"}},"required":["channel"]}],"type":"object"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/bookings/{bookingId}":{"delete":{"operationId":"booking-resources-bookings-deleteBooking","summary":"Delete canceled booking","description":"Deletes operational data for a canceled resource booking while preserving financial records <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### booking.remove","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"bookingId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/bookings/export":{"post":{"operationId":"booking-resources-bookings-exportBookings","summary":"Export bookings","description":"Exports bookings for a given resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### booking.read","tags":["booking / resources / bookings"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["event","resource"]},"contactId":{"type":"string"},"searchTerm":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"resourceIds":{"minItems":1,"type":"array","items":{"type":"string"}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","bookingNumber","buyer.type","buyer.name","buyer.nameNormalized","buyer.nameSort","buyer.email","buyer.phone","buyer.address.country","buyer.address.state","buyer.address.zip","buyer.address.city","buyer.address.addressLine","buyer.address.details1","buyer.address.details2","buyer.userId","buyer.account","buyer.contact","buyer.payment.paymentMethod","buyer.payment.sepaDirectDebit.iban","buyer.payment.sepaDirectDebit.bic","buyer.payment.online.paymentIntent","buyer.payment.online.provider","buyer.payment.online.paymentMode","buyer.payment.online.onlineDebitCollection","buyer.personName","buyer.receiptMode","receipts","formResult.schema","totalPrice","totalPoints","usedPunchCardNumbers","discountCode","status","paymentStatus","cancelations","records","createdAt"]},{"type":"string","pattern":"^formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format","resourceIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/{resourceId}/reservations":{"post":{"operationId":"booking-resources-reservations-createReservation","summary":"Create reservation","description":"Creates a new reservation for a specific resource on a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.insert","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"resourceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["reserved","maintenance","blocked","outOfOrder","closed","other"]},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"string","maxLength":400},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"siteId":{"type":"string"}},"required":["status","period","rrule","description","quantity","siteId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_ids":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}}},"required":["_ids"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/reservations/{reservationId}":{"get":{"operationId":"booking-resources-reservations-getReservation","summary":"Get reservation","description":"Returns a specific reservation for a specific resource on a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.read","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"reservationId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["booking","event","custom"]},"status":{"type":"string","enum":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"site":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"timezone":{"type":"string","minLength":1}},"required":["site","name","address","timezone"],"additionalProperties":false},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"],"additionalProperties":false},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"series":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":10},"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"default":"active","type":"string","enum":["active","deleted","canceled"]},"skip":{"type":"object","properties":{"deleted":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"blocked":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["deleted","blocked"],"additionalProperties":false}},"required":["id","index","total","status"],"additionalProperties":false},"description":{"type":"string","maxLength":400},"booking":{"type":"object","properties":{"booking":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recordNumber":{"type":"string","minLength":10,"maxLength":10},"paymentMethodPending":{"type":"string","enum":["unpaid","partial","paid"]},"receipts":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"anyOf":[{"type":"string","minLength":8,"maxLength":8},{"type":"string","const":""}]},"rateName":{"type":"string"},"ratePrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"rateVariantId":{"type":"string","minLength":8,"maxLength":8},"rateVariantName":{"type":"string"},"ratePaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"rateServicesPaidPrice":{"type":"integer","minimum":0,"maximum":9999999999},"usedPoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"issuedPunchCardNumber":{"type":"string"},"punchCard":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"},"optionName":{"type":"string"},"optionPrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"optionPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["optionId","optionName","optionPrice","optionPaidPrice"],"additionalProperties":false}}},"required":["service","serviceName","options"],"additionalProperties":false}},"servicesPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"servicesEditable":{"type":"boolean"},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]},"applicant":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"userId":{"type":"string","maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"membershipNumber":{"type":"string","maxLength":64}},"required":["type","name","nameNormalized","nameSort","email","phone","address","userId","contact","membershipNumber"],"additionalProperties":false},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantityName":{"type":"string"},"checkedInAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"checkInRequestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["booking","recordNumber","paymentMethodPending","receipts","rateId","rateName","ratePrice","ratePaidPrice","usedPoints","issuedPunchCardNumber","punchCard","services","servicesPaidPrice","discountCode","formResult","applicant","quantity","quantityName","checkedInAt"],"additionalProperties":false},"event":{"type":"object","properties":{"eventId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timezone":{"type":"string","minLength":1}},"required":["eventId","timezone"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240}},"required":["canceledAt","reason"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","type","status","resource","resourceName","site","period","rrule","series","quantity"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-resources-reservations-updateReservation","summary":"Update reservation","description":"Updates a specific reservation for a specific resource on a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.remove","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"reservationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["reserved","maintenance","blocked","outOfOrder","closed","other"]},"description":{"type":"string","maxLength":400},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["status","description","period","quantity"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-reservations-deleteReservation","summary":"Delete reservation","description":"Deletes a specific reservation for a specific resource on a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.remove","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"reservationId","schema":{"type":"string"},"required":true},{"in":"query","name":"deleteMode","schema":{"type":"string","enum":["current","currentFuture","all"]},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/reservations/list":{"post":{"operationId":"booking-resources-reservations-listReservations","summary":"List reservations","description":"Returns a list of reservations for a specific resource on a specific site for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.read","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","status","resource","resourceName","site.site","site.name","site.address.country","site.address.state","site.address.zip","site.address.city","site.address.addressLine","site.address.details1","site.address.details2","site.timezone","period.from","period.to","rrule","series.id","series.index","series.total","series.status","series.skip.deleted","series.skip.blocked","description","booking.booking","booking.recordNumber","booking.paymentMethodPending","booking.receipts","booking.rateId","booking.rateName","booking.ratePrice.taxCode","booking.ratePrice.account","booking.ratePrice.costCenter1","booking.ratePrice.costCenter2","booking.rateVariantId","booking.rateVariantName","booking.ratePaidPrice","booking.rateServicesPaidPrice","booking.usedPoints","booking.issuedPunchCardNumber","booking.punchCard","booking.services","booking.servicesPaidPrice","booking.servicesEditable","booking.discountCode","booking.formResult.schema","booking.applicant.type","booking.applicant.name","booking.applicant.nameNormalized","booking.applicant.nameSort","booking.applicant.email","booking.applicant.phone","booking.applicant.address.country","booking.applicant.address.state","booking.applicant.address.zip","booking.applicant.address.city","booking.applicant.address.addressLine","booking.applicant.address.details1","booking.applicant.address.details2","booking.applicant.userId","booking.applicant.contact","booking.applicant.membershipNumber","booking.quantity","booking.quantityName","booking.checkedInAt","booking.checkInRequestId","event.eventId","event.timezone","quantity","cancelation.canceledAt","cancelation.reason","createdAt"]},{"type":"string","pattern":"^booking\\.formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"resourceIds":{"type":"array","items":{"type":"string"}},"bookingId":{"type":"string"},"siteId":{"type":"string"},"type":{"type":"string","enum":["booking","event","custom"]},"status":{"type":"array","items":{"type":"string","enum":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]}},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"reservations":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["booking","event","custom"]},"status":{"type":"string","enum":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"site":{"type":"object","properties":{"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string"},"address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":45},"addressLine":{"type":"string","maxLength":45},"details1":{"type":"string","maxLength":45},"details2":{"type":"string","maxLength":45}},"required":["country","zip","city","addressLine"],"additionalProperties":false},"timezone":{"type":"string","minLength":1}},"required":["site","name","address","timezone"],"additionalProperties":false},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"],"additionalProperties":false},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}]},"series":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":10},"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"default":"active","type":"string","enum":["active","deleted","canceled"]},"skip":{"type":"object","properties":{"deleted":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"blocked":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["deleted","blocked"],"additionalProperties":false}},"required":["id","index","total","status"],"additionalProperties":false},"description":{"type":"string","maxLength":400},"booking":{"type":"object","properties":{"booking":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"recordNumber":{"type":"string","minLength":10,"maxLength":10},"paymentMethodPending":{"type":"string","enum":["unpaid","partial","paid"]},"receipts":{"type":"array","items":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"rateId":{"anyOf":[{"type":"string","minLength":8,"maxLength":8},{"type":"string","const":""}]},"rateName":{"type":"string"},"ratePrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"rateVariantId":{"type":"string","minLength":8,"maxLength":8},"rateVariantName":{"type":"string"},"ratePaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"rateServicesPaidPrice":{"type":"integer","minimum":0,"maximum":9999999999},"usedPoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"issuedPunchCardNumber":{"type":"string"},"punchCard":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"serviceName":{"type":"string"},"serviceChargedOnce":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"optionId":{"type":"string"},"optionName":{"type":"string"},"optionPrice":{"anyOf":[{"type":"object","properties":{"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]}},"required":["taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]},"optionPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]}},"required":["optionId","optionName","optionPrice","optionPaidPrice"],"additionalProperties":false}}},"required":["service","serviceName","options"],"additionalProperties":false}},"servicesPaidPrice":{"anyOf":[{"type":"integer","minimum":0,"maximum":9999999999},{"type":"null"}]},"servicesEditable":{"type":"boolean"},"discountCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"formResult":{"anyOf":[{"type":"object","properties":{"schema":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"itemCaption":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$"},"type":{"type":"string","enum":["placeholder","html","spacer","text","select","multiSelect","date","time","dateTime","number","file","signature","rating","matrix","boolean","address","calculated","info","termsPrivacy","paymentMethod"]},"label":{"type":"string","minLength":1,"maxLength":140},"bindPropertyPath":{"type":"string"},"text":{"type":"object","properties":{"format":{"type":"string","enum":["text","multiline","regex","email","phone","url","iban","bic"]}},"required":["format"],"additionalProperties":false},"date":{"type":"object","properties":{"format":{"type":"string"}},"additionalProperties":false},"calculated":{"type":"object","properties":{"resultType":{"type":"string","enum":["number","string","boolean","dateOnly","dateTime","option"]},"options":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}}},"required":["resultType"],"additionalProperties":false},"matrix":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"columns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":140},"value":{"type":"string","minLength":1,"maxLength":140},"label":{"type":"string","minLength":1,"maxLength":140},"hint":{"type":"string","maxLength":200}},"required":["id","label"],"additionalProperties":false}},"multiSelect":{"type":"boolean"}},"required":["rows","columns"],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false}]}}},"required":["id","label","fields"],"additionalProperties":false}},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"string"},{"type":"object","properties":{"type":{"type":"string","enum":["sepaCreditTransfer","sepaDirectDebit","cash","online"]},"sepaDirectDebit":{"type":"object","properties":{"iban":{"type":"string","format":"iban"},"bic":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["iban","bic"],"additionalProperties":false},"online":{"type":"object","properties":{"paymentIntent":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"provider":{"default":null,"anyOf":[{"type":"string","enum":["stripe","paypal"]},{"type":"null"}]}},"required":["paymentIntent","provider"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"fileName":{"type":"string","maxLength":128},"resource":{"type":"string"}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"array","items":{"$ref":"#/components/schemas/__schema7"}}]}}},"required":["schema","data"],"additionalProperties":false},{"type":"null"}]},"applicant":{"type":"object","properties":{"type":{"type":"string","enum":["business","person"]},"name":{"type":"string","minLength":1,"maxLength":81},"nameNormalized":{"type":"string","minLength":1},"nameSort":{"type":"string","minLength":1,"maxLength":81},"email":{"anyOf":[{"type":"string","const":""},{"type":"string"}]},"phone":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"phone"}]},"address":{"anyOf":[{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"addressLine":{"type":"string"},"details1":{"type":"string"},"details2":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"userId":{"type":"string","maxLength":24},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"membershipNumber":{"type":"string","maxLength":64}},"required":["type","name","nameNormalized","nameSort","email","phone","address","userId","contact","membershipNumber"],"additionalProperties":false},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantityName":{"type":"string"},"checkedInAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"checkInRequestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["booking","recordNumber","paymentMethodPending","receipts","rateId","rateName","ratePrice","ratePaidPrice","usedPoints","issuedPunchCardNumber","punchCard","services","servicesPaidPrice","discountCode","formResult","applicant","quantity","quantityName","checkedInAt"],"additionalProperties":false},"event":{"type":"object","properties":{"eventId":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"timezone":{"type":"string","minLength":1}},"required":["eventId","timezone"],"additionalProperties":false},"quantity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"cancelation":{"anyOf":[{"type":"object","properties":{"canceledAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"reason":{"type":"string","maxLength":240}},"required":["canceledAt","reason"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","type","status","resource","resourceName","site","period","rrule","series","quantity"],"additionalProperties":false}}},"required":["count","reservations"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/reservations/export":{"post":{"operationId":"booking-resources-reservations-exportReservations","summary":"Export reservations","description":"Exports reservations for a given resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.read","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchTerm":{"type":"string"},"resourceIds":{"type":"array","items":{"type":"string"}},"bookingId":{"type":"string"},"siteId":{"type":"string"},"type":{"type":"string","enum":["booking","event","custom"]},"status":{"type":"array","items":{"type":"string","enum":["pending","confirmed","canceled","checkedIn","reserved","maintenance","blocked","outOfOrder","closed","other"]}},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"to":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["from","to"]},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]},"format":{"type":"string","enum":["csv","xlsx"]},"formatOptions":{"type":"object","properties":{"xlsx":{"type":"object","properties":{"arrayFormat":{"type":"string","enum":["line","comma","columns"]}}}}},"propertyPaths":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"selection":{"type":"object","properties":{"excludeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}}},"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","type","status","resource","resourceName","site.site","site.name","site.address.country","site.address.state","site.address.zip","site.address.city","site.address.addressLine","site.address.details1","site.address.details2","site.timezone","period.from","period.to","rrule","series.id","series.index","series.total","series.status","series.skip.deleted","series.skip.blocked","description","booking.booking","booking.recordNumber","booking.paymentMethodPending","booking.receipts","booking.rateId","booking.rateName","booking.ratePrice.taxCode","booking.ratePrice.account","booking.ratePrice.costCenter1","booking.ratePrice.costCenter2","booking.rateVariantId","booking.rateVariantName","booking.ratePaidPrice","booking.rateServicesPaidPrice","booking.usedPoints","booking.issuedPunchCardNumber","booking.punchCard","booking.services","booking.servicesPaidPrice","booking.servicesEditable","booking.discountCode","booking.formResult.schema","booking.applicant.type","booking.applicant.name","booking.applicant.nameNormalized","booking.applicant.nameSort","booking.applicant.email","booking.applicant.phone","booking.applicant.address.country","booking.applicant.address.state","booking.applicant.address.zip","booking.applicant.address.city","booking.applicant.address.addressLine","booking.applicant.address.details1","booking.applicant.address.details2","booking.applicant.userId","booking.applicant.contact","booking.applicant.membershipNumber","booking.quantity","booking.quantityName","booking.checkedInAt","booking.checkInRequestId","event.eventId","event.timezone","quantity","cancelation.canceledAt","cancelation.reason","createdAt"]},{"type":"string","pattern":"^booking\\.formResult\\.data\\.[\\s\\S]{0,}$"}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}}},"required":["format"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","const":"empty"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"queued"}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["state","url"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","const":"base64"},"base64":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"},"contentType":{"type":"string"},"fileName":{"type":"string"}},"required":["state","base64","contentType","fileName"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/reservations/{reservationId}/updateServices":{"post":{"operationId":"booking-resources-reservations-updateReservationServices","summary":"Update reservation services","description":"Updates the services of a specific reservation for a specific resource for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceReservation.edit","tags":["booking / resources / reservations"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"reservationId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"services":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"optionIds":{"type":"array","items":{"type":"string"}}},"required":["serviceId","optionIds"]}},"options":{"type":"object","properties":{"charge":{"type":"boolean"},"refund":{"type":"boolean"},"refundAmounts":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"optionId":{"type":"string"},"amount":{"type":"integer","minimum":0,"maximum":9999999999}},"required":["serviceId","optionId","amount"]}}},"required":["charge","refund"]}},"required":["services","options"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/checkIns/{checkInId}":{"get":{"operationId":"booking-resources-checkIns-getCheckIn","summary":"Get check-in","description":"Returns a specific check-in for a resource. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceCheckIn.read","tags":["booking / resources / check-ins"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"checkInId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"key":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"checkInAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"checkOutAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","resource","resourceName","site","siteName","contact","checkInAt","checkOutAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-resources-checkIns-deleteCheckIn","summary":"Delete check-in","description":"Deletes a specific check-in for a resource. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceCheckIn.remove","tags":["booking / resources / check-ins"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"checkInId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["deleted"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/checkIns/list":{"post":{"operationId":"booking-resources-checkIns-listCheckIns","summary":"List check-ins","description":"Returns a list of check-ins for resources. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceCheckIn.read","tags":["booking / resources / check-ins"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","resource","resourceName","site","siteName","contact.name","contact.type","contact.nameNormalized","contact.nameSort","contact.contact","contact.image.resource","contact.image.fileName","contact.image.contentType","contact.image.fileSizeBytes","contact.user.name","contact.user.type","contact.user.userId","contact.user.image.resource","contact.user.image.fileName","contact.user.image.contentType","contact.user.image.fileSizeBytes","key","options","checkInAt","checkOutAt","createdAt"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":1000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"searchKeys":{"type":"boolean"},"resourceIds":{"type":"array","items":{"type":"string"}},"siteId":{"type":"string"},"contactId":{"type":"string"},"userFilter":{"description":"A stringified json object representing a property filter","type":"string","properties":{"operator":{"type":"string","enum":["and","or"]},"groups":{"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1},"comparator":{"type":"string","enum":["exists","notExists","equals","notEquals","includes","includesAll","notIncludes","notIncludesAll","empty","notEmpty","contains","notContains","startsWith","endsWith","greaterThan","greaterEquals","lessThan","lessEquals","between","notBetween","exactlyDaysAgo","moreThanDaysAgo","lessThanDaysAgo","moment","isTrue","isFalse"]},"value":{},"literal":{"type":"boolean"}},"required":["path","comparator"]}}},"required":["operator","fields"]}}},"required":["operator","groups"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"checkIns":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resource":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"resourceName":{"type":"string"},"site":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"siteName":{"type":"string"},"contact":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"contact"},"nameNormalized":{"type":"string"},"nameSort":{"type":"string"},"contact":{"anyOf":[{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","const":"user"},"userId":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"resource":{"type":"string","minLength":1},"fileName":{"type":"string","maxLength":128},"contentType":{"type":"string","maxLength":75},"fileSizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resource"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","userId","image"],"additionalProperties":false},{"type":"null"}]}},"required":["name","type","nameNormalized","nameSort","contact","image","user"],"additionalProperties":false},"key":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"checkInAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},"checkOutAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["_id","mandate","resource","resourceName","site","siteName","contact","checkInAt","checkOutAt"],"additionalProperties":false}}},"required":["count","checkIns"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/checkIns/checkIn":{"post":{"operationId":"booking-resources-checkIns-checkIn","summary":"Check contact in","description":"Creates a check-in for a contact on a resource. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceCheckIn.insert","tags":["booking / resources / check-ins"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"resourceId":{"type":"string"},"siteId":{"type":"string"},"contactId":{"type":"string"},"key":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"checkInAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["resourceId","siteId","contactId","checkInAt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/resources/checkIns/{checkInId}/checkOut":{"post":{"operationId":"booking-resources-checkIns-checkOut","summary":"Check contact out","description":"Checks out a contact from a resource. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### resource.read\n* #### resourceCheckIn.edit","tags":["booking / resources / check-ins"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"checkInId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"checkOutAt":{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"}},"required":["_id","checkOutAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/services":{"post":{"operationId":"booking-services-createService","summary":"Create service","description":"Creates a new service for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.insert","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"description":{"default":"","type":"string","maxLength":140},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"minOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"id":{"type":"string","minLength":8,"maxLength":8},"description":{"default":"","type":"string","maxLength":140}},"required":["name","price"]}}},"required":["name"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/services/{serviceId}":{"get":{"operationId":"booking-services-getService","summary":"Get service","description":"Returns a specific service with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.read","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"serviceId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":140},"tags":{"type":"string array"},"minOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}}},"required":["_id","mandate","name","description","tags","minOptions","maxOptions","options"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-services-updateService","summary":"Update service","description":"Updates a specific service for a given mandate. Only provided fields are updated. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.edit","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"serviceId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":140},"tags":{"maxItems":10,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"minOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"]},{"type":"null"}]},"id":{"type":"string","minLength":8,"maxLength":8},"description":{"default":"","type":"string","maxLength":140}},"required":["name","price"]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-services-deleteService","summary":"Delete service","description":"Deletes a specific service for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.remove","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"serviceId","schema":{"type":"string"},"required":true},{"in":"query","name":"forceDeletion","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/services/list":{"post":{"operationId":"booking-services-listServices","summary":"List services","description":"Returns a list of services for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.read","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["_id","mandate","name","description","tags","minOptions","maxOptions","options"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"searchTerm":{"type":"string"},"tags":{"type":"array","items":{"type":"string","minLength":1}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"services":{"type":"array","items":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"name":{"type":"string","minLength":1,"maxLength":64},"description":{"type":"string","maxLength":140},"tags":{"type":"string array"},"minOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxOptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":8,"maxLength":8},"name":{"type":"string","minLength":1,"maxLength":50},"description":{"type":"string","maxLength":140},"price":{"anyOf":[{"type":"object","properties":{"isNet":{"type":"boolean"},"price":{"type":"integer","minimum":0,"maximum":9999999999},"priceNet":{"type":"integer","minimum":0,"maximum":9999999999},"priceGross":{"type":"integer","minimum":0,"maximum":9999999999},"taxCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":5},{"type":"null"}]},"account":{"type":"integer","minimum":1,"maximum":999999999},"costCenter1":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"costCenter2":{"anyOf":[{"type":"number","minimum":1,"maximum":99999999},{"type":"null"}]},"minSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999},"maxSlotPrice":{"type":"integer","exclusiveMinimum":0,"maximum":9999999999}},"required":["isNet","price","taxCode","account","costCenter1","costCenter2"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","description","price"],"additionalProperties":false}}},"required":["_id","mandate","name","description","tags","minOptions","maxOptions","options"],"additionalProperties":false}}},"required":["count","services"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/services/tags/list":{"post":{"operationId":"booking-services-listTags","summary":"List tags","description":"Returns a list of tags for a given service for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.read","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"type":"object","propertyNames":{"anyOf":[{"type":"string","enum":["tag","usage"]}]},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"default":50,"type":"integer","minimum":0,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"returnCount":{"default":false,"type":"boolean"},"excludeTags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}},"searchTerm":{"type":"string"},"onlyUsedTags":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"tags":{"type":"array","items":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tag","usage"],"additionalProperties":false}}},"required":["count","tags"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/services/tags/remove":{"post":{"operationId":"booking-services-removeTag","summary":"Remove tag","description":"Removes a supplementary service tag case-insensitively from supplementary services and updates its canonical usage. <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### supplementaryService.remove","tags":["booking / services"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"maxLength":40}},"required":["tag"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"removedRecords":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["removedRecords"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/discountCodes":{"post":{"operationId":"booking-discountCodes-createDiscountCode","summary":"Create discount code","description":"Creates a new discount code for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### bookingDiscountCode.insert","tags":["booking / discountCodes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["event","resource"]},"code":{"type":"string","minLength":1,"maxLength":32},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"appliesToServices":{"type":"boolean"},"description":{"default":"","type":"string","maxLength":200},"stock":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"validFrom":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["type","code","priceModifier","appliesToServices"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"}},"required":["_id"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/{organizationId}/{mandateId}/booking/discountCodes/{discountCodeId}":{"get":{"operationId":"booking-discountCodes-getDiscountCode","summary":"Get discount code","description":"Returns a specific discount code with all of its details for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### bookingDiscountCode.read","tags":["booking / discountCodes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"discountCodeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"_id":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"mandate":{"anyOf":[{"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},{"type":"string"}],"effectType":"output","type":"string","format":"ObjectId","description":"ObjectId as string"},"type":{"type":"string","enum":["event","resource"]},"code":{"type":"string","minLength":1,"maxLength":32},"description":{"type":"string","maxLength":200},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"],"additionalProperties":false},"appliesToServices":{"type":"boolean"},"tags":{"type":"string array"},"validFrom":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"stock":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"usage":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["_id","mandate","type","code","description","priceModifier","appliesToServices","tags","validFrom","validTo","stock","usage"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"booking-discountCodes-updateDiscountCode","summary":"Update discount code","description":"Updates a specific discount code for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### bookingDiscountCode.edit","tags":["booking / discountCodes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"discountCodeId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":32},"priceModifier":{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9999999999},"type":{"type":"string","enum":["%","amount"]}},"required":["value","type"]},"appliesToServices":{"type":"boolean"},"description":{"default":"","type":"string","maxLength":200},"stock":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tags":{"maxItems":20,"type":"string array","items":{"type":"string","minLength":1,"maxLength":40}},"validFrom":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","example":"2026-06-15T22:30:00Z"},{"type":"null"}]}},"required":["code","priceModifier","appliesToServices"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"booking-discountCodes-deleteDiscountCode","summary":"Delete discount code","description":"Deletes a specific discount code for a given mandate <br /><br /> \n### Required permissions:\n* #### mandate.read\n* #### bookingDiscountCode.remove","tags":["booking / discountCodes"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"organizationId","schema":{"type":"string"},"required":true},{"in":"path","name":"mandateId","schema":{"type":"string"},"required":true},{"in":"path","name":"discountCodeId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/c